Searched refs:fec_cfg (Results 1 – 7 of 7) sorted by relevance
1565 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_advertised_fec() local1567 if ((fec_cfg & BNXT_FEC_NONE) || !(fec_cfg & BNXT_FEC_AUTONEG)) { in bnxt_fw_to_ethtool_advertised_fec()1572 if (fec_cfg & BNXT_FEC_ENC_BASE_R) in bnxt_fw_to_ethtool_advertised_fec()1575 if (fec_cfg & BNXT_FEC_ENC_RS) in bnxt_fw_to_ethtool_advertised_fec()1578 if (fec_cfg & BNXT_FEC_ENC_LLRS) in bnxt_fw_to_ethtool_advertised_fec()1616 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_support_fec() local1618 if (fec_cfg & BNXT_FEC_NONE) { in bnxt_fw_to_ethtool_support_fec()1623 if (fec_cfg & BNXT_FEC_ENC_BASE_R_CAP) in bnxt_fw_to_ethtool_support_fec()1626 if (fec_cfg & BNXT_FEC_ENC_RS_CAP) in bnxt_fw_to_ethtool_support_fec()1629 if (fec_cfg & BNXT_FEC_ENC_LLRS_CAP) in bnxt_fw_to_ethtool_support_fec()[all …]
1228 u16 fec_cfg; member
9297 fec = bp->link_info.fec_cfg; in bnxt_report_link()9476 link_info->fec_cfg = PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED; in bnxt_update_link()9478 link_info->fec_cfg = le16_to_cpu(resp->fec_cfg); in bnxt_update_link()
3677 __le16 fec_cfg; member
1384 static int i40e_set_fec_cfg(struct net_device *netdev, u8 fec_cfg) in i40e_set_fec_cfg() argument1395 i40e_set_fec_in_flags(fec_cfg, &flags); in i40e_set_fec_cfg()1406 if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { in i40e_set_fec_cfg()1418 config.fec_config = fec_cfg & I40E_AQ_PHY_FEC_CONFIG_MASK; in i40e_set_fec_cfg()1454 u8 fec_cfg; in i40e_get_fec_param() local1466 fec_cfg = abilities.fec_cfg_curr_mod_ext_info; in i40e_get_fec_param()1467 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_get_fec_param()1469 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_get_fec_param()1472 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_get_fec_param()1475 if (fec_cfg == 0) in i40e_get_fec_param()[all …]
1256 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags);
14962 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags) in i40e_set_fec_in_flags() argument14964 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_set_fec_in_flags()14966 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_RS) || in i40e_set_fec_in_flags()14967 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_RS)) { in i40e_set_fec_in_flags()14971 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_KR) || in i40e_set_fec_in_flags()14972 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_KR)) { in i40e_set_fec_in_flags()14976 if (fec_cfg == 0) in i40e_set_fec_in_flags()