Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1371 static int i40e_set_fec_cfg(struct net_device *netdev, u8 fec_cfg) in i40e_set_fec_cfg() argument
1382 i40e_set_fec_in_flags(fec_cfg, &flags); in i40e_set_fec_cfg()
1393 if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { in i40e_set_fec_cfg()
1404 config.fec_config = fec_cfg & I40E_AQ_PHY_FEC_CONFIG_MASK; in i40e_set_fec_cfg()
1481 u8 fec_cfg = 0; in i40e_set_fec_param() local
1492 fec_cfg = I40E_AQ_SET_FEC_AUTO; in i40e_set_fec_param()
1495 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_set_fec_param()
1499 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_set_fec_param()
1504 fec_cfg = 0; in i40e_set_fec_param()
1513 err = i40e_set_fec_cfg(netdev, fec_cfg); in i40e_set_fec_param()
[all …]
Di40e.h1150 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags);
Di40e_main.c14524 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags) in i40e_set_fec_in_flags() argument
14526 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_set_fec_in_flags()
14528 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_RS) || in i40e_set_fec_in_flags()
14529 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_RS)) { in i40e_set_fec_in_flags()
14533 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_KR) || in i40e_set_fec_in_flags()
14534 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_KR)) { in i40e_set_fec_in_flags()
14538 if (fec_cfg == 0) in i40e_set_fec_in_flags()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1172 u16 fec_cfg; member
Dbnxt.c8384 fec = bp->link_info.fec_cfg; in bnxt_report_link()
8527 link_info->fec_cfg = PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED; in bnxt_update_link()
8529 link_info->fec_cfg = le16_to_cpu(resp->fec_cfg); in bnxt_update_link()
Dbnxt_hsi.h2639 __le16 fec_cfg; member