Lines Matching defs:abilities

1678  * @abilities: structure for PHY capabilities to be filled
1683 * Returns the various PHY abilities supported on the Port.
1687 struct i40e_aq_get_phy_abilities_resp *abilities,
1695 if (!abilities)
1714 status = i40e_asq_send_command(hw, &desc, abilities,
1743 hw->phy.phy_types = LE32_TO_CPU(abilities->phy_type);
1745 ((u64)abilities->phy_type_ext << 32);
1798 struct i40e_aq_get_phy_abilities_resp abilities;
1821 status = i40e_aq_get_phy_capabilities(hw, FALSE, false, &abilities,
1830 config.abilities = abilities.abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) &
1832 /* set the new abilities */
1833 config.abilities |= pause_mask;
1834 /* If the abilities have changed, then set the new config */
1835 if (config.abilities != abilities.abilities) {
1838 config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK;
1840 config.phy_type = abilities.phy_type;
1841 config.phy_type_ext = abilities.phy_type_ext;
1842 config.link_speed = abilities.link_speed;
1843 config.eee_capability = abilities.eee_capability;
1844 config.eeer = abilities.eeer_val;
1845 config.low_power_ctrl = abilities.d3_lpan;
1846 config.fec_config = abilities.fec_cfg_curr_mod_ext_info &
2901 struct i40e_aq_get_phy_abilities_resp abilities;
2913 &abilities, NULL);
2917 if (abilities.fec_cfg_curr_mod_ext_info &
2924 abilities.fec_cfg_curr_mod_ext_info &
2928 i40e_memcpy(hw->phy.link_info.module_type, &abilities.module_type,
6264 struct i40e_aq_get_phy_abilities_resp abilities;
6270 status = i40e_aq_get_phy_capabilities(hw, FALSE, TRUE, &abilities,
6278 if (abilities.eee_capability == 0) {
6284 eee_capability = abilities.eee_capability;
6287 status = i40e_aq_get_phy_capabilities(hw, FALSE, false, &abilities,
6293 config.phy_type = abilities.phy_type;
6294 config.phy_type_ext = abilities.phy_type_ext;
6295 config.link_speed = abilities.link_speed;
6296 config.abilities = abilities.abilities |
6298 config.eeer = abilities.eeer_val;
6299 config.low_power_ctrl = abilities.d3_lpan;
6300 config.fec_config = abilities.fec_cfg_curr_mod_ext_info &