Lines Matching refs:abilities
1578 struct i40e_aq_get_phy_abilities_resp *abilities, in i40e_aq_get_phy_capabilities() argument
1585 if (!abilities) in i40e_aq_get_phy_capabilities()
1603 status = i40e_asq_send_command(hw, &desc, abilities, abilities_size, in i40e_aq_get_phy_capabilities()
1610 hw->phy.phy_types = le32_to_cpu(abilities->phy_type); in i40e_aq_get_phy_capabilities()
1659 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_fc() local
1682 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_set_fc()
1691 config.abilities = abilities.abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) & in i40e_set_fc()
1694 config.abilities |= pause_mask; in i40e_set_fc()
1696 if (config.abilities != abilities.abilities) { in i40e_set_fc()
1699 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; in i40e_set_fc()
1701 config.phy_type = abilities.phy_type; in i40e_set_fc()
1702 config.link_speed = abilities.link_speed; in i40e_set_fc()
1703 config.eee_capability = abilities.eee_capability; in i40e_set_fc()
1704 config.eeer = abilities.eeer_val; in i40e_set_fc()
1705 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_fc()
2260 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_update_link_info() local
2269 &abilities, NULL); in i40e_update_link_info()
2273 memcpy(hw->phy.link_info.module_type, &abilities.module_type, in i40e_update_link_info()