Home
last modified time | relevance | path

Searched refs:fw_fec (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/scsi/csiostor/
Dcsio_hw.c1501 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
1505 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
1507 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
1527 fw_port_cap32_t fw_fec = 0; in cc_to_fwcap_fec() local
1530 fw_fec |= FW_PORT_CAP32_FEC_RS; in cc_to_fwcap_fec()
1532 fw_fec |= FW_PORT_CAP32_FEC_BASER_RS; in cc_to_fwcap_fec()
1534 return fw_fec; in cc_to_fwcap_fec()
1727 fw_port_cap32_t fw_fc, cc_fec, fw_fec, lrcap; in csio_link_l1cfg() local
1749 fw_fec = cc_to_fwcap_fec(cc_fec); in csio_link_l1cfg()
1756 lrcap = (lc->pcaps & ADVERT_MASK) | fw_fc | fw_fec; in csio_link_l1cfg()
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4071 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
4075 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
4077 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
4086 fw_port_cap32_t fw_fec = 0; in cc_to_fwcap_fec() local
4089 fw_fec |= FW_PORT_CAP32_FEC_RS; in cc_to_fwcap_fec()
4091 fw_fec |= FW_PORT_CAP32_FEC_BASER_RS; in cc_to_fwcap_fec()
4093 return fw_fec; in cc_to_fwcap_fec()
4110 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4132 fw_fec = cc_to_fwcap_fec(cc_fec); in t4_link_acaps()
4139 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
[all …]
Dcxgb4_ethtool.c763 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument
767 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_eth_fec()
769 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_eth_fec()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c381 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
385 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
387 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
Dcxgb4vf_main.c1492 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument
1496 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_eth_fec()
1498 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_eth_fec()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3155 u32 fw_fec = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE; in bnxt_ethtool_forced_fec_to_fw() local
3158 fw_fec |= BNXT_FEC_BASE_R_ON(link_info); in bnxt_ethtool_forced_fec_to_fw()
3160 fw_fec |= BNXT_FEC_RS_ON(link_info); in bnxt_ethtool_forced_fec_to_fw()
3162 fw_fec |= BNXT_FEC_LLRS_ON; in bnxt_ethtool_forced_fec_to_fw()
3163 return fw_fec; in bnxt_ethtool_forced_fec_to_fw()