Searched refs:fw_fec (Results 1 – 6 of 6) sorted by relevance
1501 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument1505 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() local1530 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() local1749 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 …]
4099 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument4103 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() local4117 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() local4160 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 …]
763 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument767 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()
380 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument384 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()
1492 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument1496 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()
1939 u32 fw_fec = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE; in bnxt_ethtool_forced_fec_to_fw() local1942 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()