Lines Matching refs:abilities
1657 struct i40e_aq_get_phy_abilities_resp *abilities, in i40e_aq_get_phy_capabilities() argument
1665 if (!abilities) in i40e_aq_get_phy_capabilities()
1684 status = i40e_asq_send_command(hw, &desc, abilities, in i40e_aq_get_phy_capabilities()
1713 hw->phy.phy_types = LE32_TO_CPU(abilities->phy_type); in i40e_aq_get_phy_capabilities()
1715 ((u64)abilities->phy_type_ext << 32); in i40e_aq_get_phy_capabilities()
1768 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_fc() local
1791 status = i40e_aq_get_phy_capabilities(hw, FALSE, false, &abilities, in i40e_set_fc()
1800 config.abilities = abilities.abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) & in i40e_set_fc()
1803 config.abilities |= pause_mask; in i40e_set_fc()
1805 if (config.abilities != abilities.abilities) { in i40e_set_fc()
1808 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; in i40e_set_fc()
1810 config.phy_type = abilities.phy_type; in i40e_set_fc()
1811 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_fc()
1812 config.link_speed = abilities.link_speed; in i40e_set_fc()
1813 config.eee_capability = abilities.eee_capability; in i40e_set_fc()
1814 config.eeer = abilities.eeer_val; in i40e_set_fc()
1815 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_fc()
1816 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_set_fc()
2894 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_update_link_info() local
2909 &abilities, NULL); in i40e_update_link_info()
2913 if (abilities.fec_cfg_curr_mod_ext_info & in i40e_update_link_info()
2920 abilities.fec_cfg_curr_mod_ext_info & in i40e_update_link_info()
2924 i40e_memcpy(hw->phy.link_info.module_type, &abilities.module_type, in i40e_update_link_info()
6297 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_enable_eee() local
6303 status = i40e_aq_get_phy_capabilities(hw, FALSE, TRUE, &abilities, in i40e_enable_eee()
6311 if (abilities.eee_capability == 0) { in i40e_enable_eee()
6317 eee_capability = abilities.eee_capability; in i40e_enable_eee()
6320 status = i40e_aq_get_phy_capabilities(hw, FALSE, false, &abilities, in i40e_enable_eee()
6326 config.phy_type = abilities.phy_type; in i40e_enable_eee()
6327 config.phy_type_ext = abilities.phy_type_ext; in i40e_enable_eee()
6328 config.link_speed = abilities.link_speed; in i40e_enable_eee()
6329 config.abilities = abilities.abilities | in i40e_enable_eee()
6331 config.eeer = abilities.eeer_val; in i40e_enable_eee()
6332 config.low_power_ctrl = abilities.d3_lpan; in i40e_enable_eee()
6333 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_enable_eee()