/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 418 * @acaps: advertised Port Capabilities 424 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument 428 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed() 450 * @acaps: link current Advertised Port Capabilities 457 fw_port_cap32_t acaps) in init_link_config() 468 lc->auto_fec = fwcap_to_cc_fec(acaps); in init_link_config() 480 lc->acaps = acaps & ADVERT_MASK; in init_link_config() 484 lc->acaps = 0; in init_link_config() 486 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config() 455 init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) init_link_config() argument 503 fw_port_cap32_t pcaps, acaps; t4vf_port_init() local 1915 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; t4vf_handle_get_port_info() local [all...] |
H A D | t4vf_common.h | 130 fw_port_cap32_t acaps; /* advertised capabilities */ member
|
H A D | cxgb4vf_main.c | 1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 419 * @acaps: advertised Port Capabilities 425 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument 429 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed() 451 * @acaps: link current Advertised Port Capabilities 458 fw_port_cap32_t acaps) in init_link_config() 469 lc->auto_fec = fwcap_to_cc_fec(acaps); in init_link_config() 481 lc->acaps = acaps & ADVERT_MASK; in init_link_config() 485 lc->acaps = 0; in init_link_config() 487 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config() 456 init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) init_link_config() argument 504 fw_port_cap32_t pcaps, acaps; t4vf_port_init() local 1916 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; t4vf_handle_get_port_info() local [all...] |
H A D | t4vf_common.h | 130 fw_port_cap32_t acaps; /* advertised capabilities */ member
|
H A D | cxgb4vf_main.c | 1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 4140 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local 4169 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps() 4173 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps() 4177 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps() 4188 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps() 4190 acaps, lc->pcaps); in t4_link_acaps() 4194 return acaps; in t4_link_acaps() 8529 * @acaps 8535 fwcap_to_fwspeed(fw_port_cap32_t acaps) fwcap_to_fwspeed() argument 8603 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; t4_handle_get_port_info() local 8929 init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) init_link_config() argument 9640 fw_port_cap32_t pcaps, acaps; t4_init_portinfo() local [all...] |
H A D | cxgb4_ethtool.c | 741 lc->acaps = fw_caps; in set_link_ksettings() 748 lc->acaps = fw_caps | FW_PORT_CAP32_ANEG; in set_link_ksettings()
|
H A D | cxgb4.h | 583 fw_port_cap32_t acaps; /* advertised capabilities */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 4110 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local 4139 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps() 4143 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps() 4147 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps() 4158 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps() 4160 acaps, lc->pcaps); in t4_link_acaps() 4164 return acaps; in t4_link_acaps() 8498 * @acaps 8504 fwcap_to_fwspeed(fw_port_cap32_t acaps) fwcap_to_fwspeed() argument 8572 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; t4_handle_get_port_info() local 8898 init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) init_link_config() argument 9609 fw_port_cap32_t pcaps, acaps; t4_init_portinfo() local [all...] |
H A D | cxgb4_ethtool.c | 741 lc->acaps = fw_caps; in set_link_ksettings() 748 lc->acaps = fw_caps | FW_PORT_CAP32_ANEG; in set_link_ksettings()
|
H A D | cxgb4.h | 581 fw_port_cap32_t acaps; /* advertised capabilities */ member
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 297 fw_port_cap32_t acaps; /* advertised capabilities */ member 640 fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps);
|
H A D | csio_hw.c | 1539 * @acaps: advertised Port Capabilities 1544 fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument 1548 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed() 1683 * @acaps: link current Advertised Port Capabilities 1689 fw_port_cap32_t acaps) in csio_init_link_config() 1692 lc->def_acaps = acaps; in csio_init_link_config() 1714 lc->acaps = lc->pcaps & ADVERT_MASK; in csio_init_link_config() 1718 lc->acaps = 0; in csio_init_link_config() 1764 lrcap = lc->acaps | fw_fc | fw_fec | fw_mdi; in csio_link_l1cfg() 1782 fw_port_cap32_t pcaps, acaps, rcap in csio_enable_ports() local 1688 csio_init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) csio_init_link_config() argument [all...] |
H A D | csio_mb.c | 387 u32 *pcaps, u32 *acaps) in csio_mb_process_read_port_rsp() 396 *acaps = fwcaps16_to_caps32(ntohs(rsp->u.info.acap)); in csio_mb_process_read_port_rsp() 399 *acaps = be32_to_cpu(rsp->u.info32.acaps32); in csio_mb_process_read_port_rsp() 385 csio_mb_process_read_port_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *retval, uint16_t fw_caps, u32 *pcaps, u32 *acaps) csio_mb_process_read_port_rsp() argument
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 297 fw_port_cap32_t acaps; /* advertised capabilities */ member 640 fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps);
|
H A D | csio_hw.c | 1539 * @acaps: advertised Port Capabilities 1544 fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument 1548 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed() 1683 * @acaps: link current Advertised Port Capabilities 1689 fw_port_cap32_t acaps) in csio_init_link_config() 1692 lc->def_acaps = acaps; in csio_init_link_config() 1714 lc->acaps = lc->pcaps & ADVERT_MASK; in csio_init_link_config() 1718 lc->acaps = 0; in csio_init_link_config() 1764 lrcap = lc->acaps | fw_fc | fw_fec | fw_mdi; in csio_link_l1cfg() 1782 fw_port_cap32_t pcaps, acaps, rcap in csio_enable_ports() local 1688 csio_init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, fw_port_cap32_t acaps) csio_init_link_config() argument [all...] |
H A D | csio_mb.c | 387 u32 *pcaps, u32 *acaps) in csio_mb_process_read_port_rsp() 396 *acaps = fwcaps16_to_caps32(ntohs(rsp->u.info.acap)); in csio_mb_process_read_port_rsp() 399 *acaps = be32_to_cpu(rsp->u.info32.acaps32); in csio_mb_process_read_port_rsp() 385 csio_mb_process_read_port_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *retval, uint16_t fw_caps, u32 *pcaps, u32 *acaps) csio_mb_process_read_port_rsp() argument
|