Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c424 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()
457 fw_port_cap32_t acaps) in init_link_config() argument
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()
503 fw_port_cap32_t pcaps, acaps; in t4vf_port_init() local
571 acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); in t4vf_port_init()
581 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4138 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4167 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
4171 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4175 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4186 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps()
4188 acaps, lc->pcaps); in t4_link_acaps()
4192 return acaps; in t4_link_acaps()
8533 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
8537 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
8601 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.h583 fw_port_cap32_t acaps; /* advertised capabilities */ member
/kernel/linux/linux-5.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()