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 …]
4071 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument4075 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() local4089 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() local4132 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 …]
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()
381 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument385 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()
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()
3155 u32 fw_fec = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE; in bnxt_ethtool_forced_fec_to_fw() local3158 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()