Lines Matching refs:fec_cfg
1484 static int i40e_set_fec_cfg(struct net_device *netdev, u8 fec_cfg) in i40e_set_fec_cfg() argument
1502 if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { in i40e_set_fec_cfg()
1514 config.fec_config = fec_cfg & I40E_AQ_PHY_FEC_CONFIG_MASK; in i40e_set_fec_cfg()
1524 i40e_set_fec_in_flags(fec_cfg, pf->flags); in i40e_set_fec_cfg()
1550 u8 fec_cfg; in i40e_get_fec_param() local
1562 fec_cfg = abilities.fec_cfg_curr_mod_ext_info; in i40e_get_fec_param()
1563 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_get_fec_param()
1565 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_get_fec_param()
1568 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_get_fec_param()
1571 if (fec_cfg == 0) in i40e_get_fec_param()
1590 u8 fec_cfg = 0; in i40e_set_fec_param() local
1605 fec_cfg = I40E_AQ_SET_FEC_AUTO; in i40e_set_fec_param()
1608 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_set_fec_param()
1612 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_set_fec_param()
1617 fec_cfg = 0; in i40e_set_fec_param()
1625 return i40e_set_fec_cfg(netdev, fec_cfg); in i40e_set_fec_param()
5386 u8 fec_cfg = 0; in i40e_set_priv_flags() local
5390 fec_cfg = I40E_AQ_SET_FEC_AUTO; in i40e_set_priv_flags()
5392 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_set_priv_flags()
5395 fec_cfg = (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_set_priv_flags()
5398 if (i40e_set_fec_cfg(dev, fec_cfg)) in i40e_set_priv_flags()