Lines Matching refs:abilities
1575 struct i40e_aq_get_phy_abilities_resp *abilities, in i40e_aq_get_phy_capabilities() argument
1583 if (!abilities) in i40e_aq_get_phy_capabilities()
1602 status = i40e_asq_send_command(hw, &desc, abilities, in i40e_aq_get_phy_capabilities()
1628 hw->phy.phy_types = le32_to_cpu(abilities->phy_type); in i40e_aq_get_phy_capabilities()
1630 ((u64)abilities->phy_type_ext << 32); in i40e_aq_get_phy_capabilities()
1683 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_set_fc() local
1706 status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, in i40e_set_fc()
1715 config.abilities = abilities.abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) & in i40e_set_fc()
1718 config.abilities |= pause_mask; in i40e_set_fc()
1720 if (config.abilities != abilities.abilities) { in i40e_set_fc()
1723 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; in i40e_set_fc()
1725 config.phy_type = abilities.phy_type; in i40e_set_fc()
1726 config.phy_type_ext = abilities.phy_type_ext; in i40e_set_fc()
1727 config.link_speed = abilities.link_speed; in i40e_set_fc()
1728 config.eee_capability = abilities.eee_capability; in i40e_set_fc()
1729 config.eeer = abilities.eeer_val; in i40e_set_fc()
1730 config.low_power_ctrl = abilities.d3_lpan; in i40e_set_fc()
1731 config.fec_config = abilities.fec_cfg_curr_mod_ext_info & in i40e_set_fc()
2568 struct i40e_aq_get_phy_abilities_resp abilities; in i40e_update_link_info() local
2580 &abilities, NULL); in i40e_update_link_info()
2585 abilities.fec_cfg_curr_mod_ext_info & in i40e_update_link_info()
2588 memcpy(hw->phy.link_info.module_type, &abilities.module_type, in i40e_update_link_info()