Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4099 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
4103 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
4105 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
4114 fw_port_cap32_t fw_fec = 0; in cc_to_fwcap_fec() local
4117 fw_fec |= FW_PORT_CAP32_FEC_RS; in cc_to_fwcap_fec()
4119 fw_fec |= FW_PORT_CAP32_FEC_BASER_RS; in cc_to_fwcap_fec()
4121 return fw_fec; in cc_to_fwcap_fec()
4138 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4160 fw_fec = cc_to_fwcap_fec(cc_fec); in t4_link_acaps()
4167 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c380 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
384 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
386 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1939 u32 fw_fec = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE; in bnxt_ethtool_forced_fec_to_fw() local
1942 fw_fec |= BNXT_FEC_BASE_R_ON(link_info); in bnxt_ethtool_forced_fec_to_fw()
1944 fw_fec |= BNXT_FEC_RS_ON(link_info); in bnxt_ethtool_forced_fec_to_fw()
1946 fw_fec |= BNXT_FEC_LLRS_ON; in bnxt_ethtool_forced_fec_to_fw()
1947 return fw_fec; in bnxt_ethtool_forced_fec_to_fw()