Lines Matching refs:abilities
1220 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_link_ksettings() local
1301 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_set_link_ksettings()
1312 config.abilities = abilities.abilities; in i40e_set_link_ksettings()
1327 config.abilities = abilities.abilities | in i40e_set_link_ksettings()
1346 config.abilities = abilities.abilities & in i40e_set_link_ksettings()
1427 config.link_speed = abilities.link_speed; in i40e_set_link_ksettings()
1428 if (autoneg_changed || abilities.link_speed != config.link_speed) { in i40e_set_link_ksettings()
1430 config.phy_type = abilities.phy_type; in i40e_set_link_ksettings()
1431 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_link_ksettings()
1432 config.eee_capability = abilities.eee_capability; in i40e_set_link_ksettings()
1433 config.eeer = abilities.eeer_val; in i40e_set_link_ksettings()
1434 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_link_ksettings()
1435 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_set_link_ksettings()
1441 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; in i40e_set_link_ksettings()
1483 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_fec_cfg() local
1494 memset(&abilities, 0, sizeof(abilities)); in i40e_set_fec_cfg()
1495 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_set_fec_cfg()
1502 if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { in i40e_set_fec_cfg()
1506 config.phy_type = abilities.phy_type; in i40e_set_fec_cfg()
1507 config.abilities = abilities.abilities | in i40e_set_fec_cfg()
1509 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_fec_cfg()
1510 config.link_speed = abilities.link_speed; in i40e_set_fec_cfg()
1511 config.eee_capability = abilities.eee_capability; in i40e_set_fec_cfg()
1512 config.eeer = abilities.eeer_val; in i40e_set_fec_cfg()
1513 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_fec_cfg()
1545 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_get_fec_param() local
1553 memset(&abilities, 0, sizeof(abilities)); in i40e_get_fec_param()
1554 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_get_fec_param()
1562 fec_cfg = abilities.fec_cfg_curr_mod_ext_info; in i40e_get_fec_param()
5689 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_eee() local
5702 status = i40e_aq_get_phy_capabilities(hw, false, true, &abilities, in i40e_set_eee()
5710 if (abilities.eee_capability == 0) in i40e_set_eee()
5714 eee_capability = abilities.eee_capability; in i40e_set_eee()
5717 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_set_eee()
5723 config.phy_type = abilities.phy_type; in i40e_set_eee()
5724 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_eee()
5725 config.link_speed = abilities.link_speed; in i40e_set_eee()
5726 config.abilities = abilities.abilities | in i40e_set_eee()
5728 config.eeer = abilities.eeer_val; in i40e_set_eee()
5729 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_eee()
5730 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_set_eee()