abilities 1977 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 abilities; abilities 2029 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 abilities; abilities 1551 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_aq_get_phy_abilities_resp *abilities, abilities 1559 drivers/net/ethernet/intel/i40e/i40e_common.c if (!abilities) abilities 1578 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, abilities, abilities 1607 drivers/net/ethernet/intel/i40e/i40e_common.c hw->phy.phy_types = le32_to_cpu(abilities->phy_type); abilities 1609 drivers/net/ethernet/intel/i40e/i40e_common.c ((u64)abilities->phy_type_ext << 32); abilities 1652 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_aq_get_phy_abilities_resp *abilities, abilities 1676 drivers/net/ethernet/intel/i40e/i40e_common.c config.abilities = abilities->abilities & ~(I40E_AQ_PHY_FLAG_PAUSE_TX) & abilities 1679 drivers/net/ethernet/intel/i40e/i40e_common.c config.abilities |= pause_mask; abilities 1681 drivers/net/ethernet/intel/i40e/i40e_common.c if (config.abilities == abilities->abilities) abilities 1686 drivers/net/ethernet/intel/i40e/i40e_common.c config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; abilities 1688 drivers/net/ethernet/intel/i40e/i40e_common.c config.phy_type = abilities->phy_type; abilities 1689 drivers/net/ethernet/intel/i40e/i40e_common.c config.phy_type_ext = abilities->phy_type_ext; abilities 1690 drivers/net/ethernet/intel/i40e/i40e_common.c config.link_speed = abilities->link_speed; abilities 1691 drivers/net/ethernet/intel/i40e/i40e_common.c config.eee_capability = abilities->eee_capability; abilities 1692 drivers/net/ethernet/intel/i40e/i40e_common.c config.eeer = abilities->eeer_val; abilities 1693 drivers/net/ethernet/intel/i40e/i40e_common.c config.low_power_ctrl = abilities->d3_lpan; abilities 1694 drivers/net/ethernet/intel/i40e/i40e_common.c config.fec_config = abilities->fec_cfg_curr_mod_ext_info & abilities 1711 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 1717 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, abilities 1724 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_set_fc_status(hw, &abilities, atomic_restart); abilities 2558 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 2570 drivers/net/ethernet/intel/i40e/i40e_common.c &abilities, NULL); abilities 2574 drivers/net/ethernet/intel/i40e/i40e_common.c if (abilities.fec_cfg_curr_mod_ext_info & abilities 2581 drivers/net/ethernet/intel/i40e/i40e_common.c abilities.fec_cfg_curr_mod_ext_info & abilities 2585 drivers/net/ethernet/intel/i40e/i40e_common.c memcpy(hw->phy.link_info.module_type, &abilities.module_type, abilities 1136 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 1213 drivers/net/ethernet/intel/i40e/i40e_ethtool.c status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, abilities 1224 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.abilities = abilities.abilities; abilities 1239 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.abilities = abilities.abilities | abilities 1259 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.abilities = abilities.abilities & abilities 1319 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed = abilities.link_speed; abilities 1320 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (autoneg_changed || abilities.link_speed != config.link_speed) { abilities 1322 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.phy_type = abilities.phy_type; abilities 1323 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.phy_type_ext = abilities.phy_type_ext; abilities 1324 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.eee_capability = abilities.eee_capability; abilities 1325 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.eeer = abilities.eeer_val; abilities 1326 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.low_power_ctrl = abilities.d3_lpan; abilities 1327 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.fec_config = abilities.fec_cfg_curr_mod_ext_info & abilities 1333 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; abilities 1375 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 1386 drivers/net/ethernet/intel/i40e/i40e_ethtool.c memset(&abilities, 0, sizeof(abilities)); abilities 1387 drivers/net/ethernet/intel/i40e/i40e_ethtool.c status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, abilities 1394 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { abilities 1398 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.phy_type = abilities.phy_type; abilities 1399 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.abilities = abilities.abilities; abilities 1400 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.phy_type_ext = abilities.phy_type_ext; abilities 1401 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed = abilities.link_speed; abilities 1402 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.eee_capability = abilities.eee_capability; abilities 1403 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.eeer = abilities.eeer_val; abilities 1404 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.low_power_ctrl = abilities.d3_lpan; abilities 1436 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 1444 drivers/net/ethernet/intel/i40e/i40e_ethtool.c memset(&abilities, 0, sizeof(abilities)); abilities 1445 drivers/net/ethernet/intel/i40e/i40e_ethtool.c status = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, abilities 1453 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fec_cfg = abilities.fec_cfg_curr_mod_ext_info; abilities 6697 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 6710 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_aq_get_phy_capabilities(hw, false, true, &abilities, abilities 6719 drivers/net/ethernet/intel/i40e/i40e_main.c speed = abilities.link_speed; abilities 6722 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, abilities 6735 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_up && abilities.phy_type != 0 && abilities.link_speed != 0) abilities 6746 drivers/net/ethernet/intel/i40e/i40e_main.c config.abilities = abilities.abilities; abilities 6747 drivers/net/ethernet/intel/i40e/i40e_main.c if (abilities.link_speed != 0) abilities 6748 drivers/net/ethernet/intel/i40e/i40e_main.c config.link_speed = abilities.link_speed; abilities 6751 drivers/net/ethernet/intel/i40e/i40e_main.c config.eee_capability = abilities.eee_capability; abilities 6752 drivers/net/ethernet/intel/i40e/i40e_main.c config.eeer = abilities.eeer_val; abilities 6753 drivers/net/ethernet/intel/i40e/i40e_main.c config.low_power_ctrl = abilities.d3_lpan; abilities 6754 drivers/net/ethernet/intel/i40e/i40e_main.c config.fec_config = abilities.fec_cfg_curr_mod_ext_info & abilities 14735 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_aq_get_phy_abilities_resp abilities; abilities 15248 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_aq_get_phy_capabilities(hw, false, false, &abilities, NULL); abilities 15253 drivers/net/ethernet/intel/i40e/i40e_main.c pf->hw.phy.link_info.requested_speeds = abilities.link_speed; abilities 15256 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_fec_in_flags(abilities.fec_cfg_curr_mod_ext_info, &pf->flags); abilities 15259 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_aq_get_phy_capabilities(hw, false, true, &abilities, NULL); abilities 82 drivers/net/ethernet/intel/i40e/i40e_prototype.h struct i40e_aq_get_phy_abilities_resp *abilities, abilities 2354 drivers/net/ethernet/intel/ice/ice_ethtool.c struct ice_aqc_get_phy_caps_data *abilities; abilities 2430 drivers/net/ethernet/intel/ice/ice_ethtool.c abilities = devm_kzalloc(&pf->pdev->dev, sizeof(*abilities), abilities 2432 drivers/net/ethernet/intel/ice/ice_ethtool.c if (!abilities) abilities 2436 drivers/net/ethernet/intel/ice/ice_ethtool.c status = ice_aq_get_phy_caps(p, false, ICE_AQC_REPORT_SW_CFG, abilities, abilities 2445 drivers/net/ethernet/intel/ice/ice_ethtool.c config.caps = abilities->caps & ~ICE_AQC_PHY_AN_MODE; abilities 2446 drivers/net/ethernet/intel/ice/ice_ethtool.c if (abilities->caps & ICE_AQC_PHY_AN_MODE) abilities 2483 drivers/net/ethernet/intel/ice/ice_ethtool.c config.low_power_ctrl = abilities->low_power_ctrl; abilities 2484 drivers/net/ethernet/intel/ice/ice_ethtool.c config.eee_cap = abilities->eee_cap; abilities 2485 drivers/net/ethernet/intel/ice/ice_ethtool.c config.eeer_value = abilities->eeer_value; abilities 2486 drivers/net/ethernet/intel/ice/ice_ethtool.c config.link_fec_opt = abilities->link_fec_options; abilities 2496 drivers/net/ethernet/intel/ice/ice_ethtool.c abilities->phy_type_high; abilities 2498 drivers/net/ethernet/intel/ice/ice_ethtool.c abilities->phy_type_low; abilities 2523 drivers/net/ethernet/intel/ice/ice_ethtool.c devm_kfree(&pf->pdev->dev, abilities);