Home
last modified time | relevance | path

Searched refs:acaps (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c425 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()
458 fw_port_cap32_t acaps) in init_link_config() argument
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()
504 fw_port_cap32_t pcaps, acaps; in t4vf_port_init() local
572 acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); in t4vf_port_init()
582 acaps = be32_to_cpu(port_rpl.u.info32.acaps32); in t4vf_port_init()
[all …]
Dt4vf_common.h130 fw_port_cap32_t acaps; /* advertised capabilities */ member
Dcxgb4vf_main.c1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4108 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4137 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
4141 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4145 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4156 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps()
4158 acaps, lc->pcaps); in t4_link_acaps()
4162 return acaps; in t4_link_acaps()
8502 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
8506 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
8570 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4_handle_get_port_info() local
[all …]
Dcxgb4_ethtool.c741 lc->acaps = fw_caps; in set_link_ksettings()
748 lc->acaps = fw_caps | FW_PORT_CAP32_ANEG; in set_link_ksettings()
Dcxgb4.h581 fw_port_cap32_t acaps; /* advertised capabilities */ member
/linux-5.19.10/drivers/scsi/csiostor/
Dcsio_hw.h297 fw_port_cap32_t acaps; /* advertised capabilities */ member
640 fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps);
Dcsio_hw.c1544 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()
1689 fw_port_cap32_t acaps) in csio_init_link_config() argument
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, rcaps; in csio_enable_ports() local
1829 &pcaps, &acaps); in csio_enable_ports()
1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); in csio_enable_ports()
Dcsio_mb.c387 u32 *pcaps, u32 *acaps) in csio_mb_process_read_port_rsp() argument
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()