Lines Matching refs:abilities
1620 struct i40e_aq_get_phy_abilities_resp *abilities, in i40e_aq_get_phy_capabilities() argument
1628 if (!abilities) in i40e_aq_get_phy_capabilities()
1647 status = i40e_asq_send_command(hw, &desc, abilities, in i40e_aq_get_phy_capabilities()
1673 hw->phy.phy_types = LE32_TO_CPU(abilities->phy_type); in i40e_aq_get_phy_capabilities()
1675 ((u64)abilities->phy_type_ext << 32); in i40e_aq_get_phy_capabilities()
1728 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_fc() local
1751 status = i40e_aq_get_phy_capabilities(hw, FALSE, false, &abilities, in i40e_set_fc()
1760 config.abilities = abilities.abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) & in i40e_set_fc()
1763 config.abilities |= pause_mask; in i40e_set_fc()
1765 if (config.abilities != abilities.abilities) { in i40e_set_fc()
1768 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; in i40e_set_fc()
1770 config.phy_type = abilities.phy_type; in i40e_set_fc()
1771 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_fc()
1772 config.link_speed = abilities.link_speed; in i40e_set_fc()
1773 config.eee_capability = abilities.eee_capability; in i40e_set_fc()
1774 config.eeer = abilities.eeer_val; in i40e_set_fc()
1775 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_fc()
1776 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_set_fc()
2816 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_update_link_info() local
2828 &abilities, NULL); in i40e_update_link_info()
2833 abilities.fec_cfg_curr_mod_ext_info & in i40e_update_link_info()
2836 i40e_memcpy(hw->phy.link_info.module_type, &abilities.module_type, in i40e_update_link_info()