hw_link_info     1818 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_link_status *hw_link_info = &hw->phy.link_info;
hw_link_info     1837 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw->phy.link_info_old = *hw_link_info;
hw_link_info     1840 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type;
hw_link_info     1842 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed;
hw_link_info     1843 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->link_info = resp->link_info;
hw_link_info     1844 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->an_info = resp->an_info;
hw_link_info     1845 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA |
hw_link_info     1847 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->ext_info = resp->ext_info;
hw_link_info     1848 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK;
hw_link_info     1849 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size);
hw_link_info     1850 drivers/net/ethernet/intel/i40e/i40e_common.c 	hw_link_info->pacing = resp->config & I40E_AQ_CONFIG_PACING_MASK;
hw_link_info     1865 drivers/net/ethernet/intel/i40e/i40e_common.c 		hw_link_info->crc_enable = true;
hw_link_info     1867 drivers/net/ethernet/intel/i40e/i40e_common.c 		hw_link_info->crc_enable = false;
hw_link_info     1870 drivers/net/ethernet/intel/i40e/i40e_common.c 		hw_link_info->lse_enable = true;
hw_link_info     1872 drivers/net/ethernet/intel/i40e/i40e_common.c 		hw_link_info->lse_enable = false;
hw_link_info     1876 drivers/net/ethernet/intel/i40e/i40e_common.c 	     hw->aq.fw_min_ver < 40)) && hw_link_info->phy_type == 0xE)
hw_link_info     1877 drivers/net/ethernet/intel/i40e/i40e_common.c 		hw_link_info->phy_type = I40E_PHY_TYPE_10GBASE_SFPP_CU;
hw_link_info     1890 drivers/net/ethernet/intel/i40e/i40e_common.c 		*link = *hw_link_info;
hw_link_info      474 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct i40e_link_status *hw_link_info = &pf->hw.phy.link_info;
hw_link_info      483 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      500 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      507 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      514 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_2_5GB)
hw_link_info      521 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB)
hw_link_info      534 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_40GB)
hw_link_info      541 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB)
hw_link_info      548 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      573 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_20GB)
hw_link_info      580 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      588 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      596 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      604 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_25GB)
hw_link_info      611 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_25GB)
hw_link_info      619 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_25GB)
hw_link_info      627 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_25GB)
hw_link_info      640 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_25GB) {
hw_link_info      654 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      661 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      668 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      677 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      755 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct i40e_link_status *hw_link_info = &hw->phy.link_info;
hw_link_info      757 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	u32 link_speed = hw_link_info->link_speed;
hw_link_info      760 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	switch (hw_link_info->phy_type) {
hw_link_info      802 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		i40e_get_settings_link_up_fec(hw_link_info->req_fec_info, ks);
hw_link_info      817 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->module_type[2] &
hw_link_info      819 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		    hw_link_info->module_type[2] &
hw_link_info      823 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			if (hw_link_info->requested_speeds &
hw_link_info      828 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      849 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      852 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB)
hw_link_info      855 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_2_5GB)
hw_link_info      858 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      861 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB)
hw_link_info      889 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB)
hw_link_info      897 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
hw_link_info      903 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			if (hw_link_info->requested_speeds &
hw_link_info      932 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		i40e_get_settings_link_up_fec(hw_link_info->req_fec_info, ks);
hw_link_info      950 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		i40e_get_settings_link_up_fec(hw_link_info->req_fec_info, ks);
hw_link_info      961 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		i40e_get_settings_link_up_fec(hw_link_info->req_fec_info, ks);
hw_link_info      972 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			    hw_link_info->phy_type);
hw_link_info     1051 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct i40e_link_status *hw_link_info = &hw->phy.link_info;
hw_link_info     1052 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	bool link_up = hw_link_info->link_info & I40E_AQ_LINK_UP;
hw_link_info     1064 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	ks->base.autoneg = ((hw_link_info->an_info & I40E_AQ_AN_COMPLETED) ?
hw_link_info     1552 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct i40e_link_status *hw_link_info = &hw->phy.link_info;
hw_link_info     1556 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		((hw_link_info->an_info & I40E_AQ_AN_COMPLETED) ?
hw_link_info     1588 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct i40e_link_status *hw_link_info = &hw->phy.link_info;
hw_link_info     1590 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	bool link_up = hw_link_info->link_info & I40E_AQ_LINK_UP;
hw_link_info     1607 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	is_an = hw_link_info->an_info & I40E_AQ_AN_COMPLETED;
hw_link_info      456 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	struct i40e_link_status *hw_link_info;
hw_link_info      461 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	hw_link_info = &hw->phy.link_info;
hw_link_info      465 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	switch (hw_link_info->link_speed) {
hw_link_info      179 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_link_status *hw_link_info;
hw_link_info      184 drivers/net/ethernet/intel/ice/ice_common.c 	hw_link_info = &pi->phy.link_info;
hw_link_info      185 drivers/net/ethernet/intel/ice/ice_common.c 	if (hw_link_info->phy_type_low && hw_link_info->phy_type_high)
hw_link_info      189 drivers/net/ethernet/intel/ice/ice_common.c 	if (hw_link_info->phy_type_low) {
hw_link_info      190 drivers/net/ethernet/intel/ice/ice_common.c 		switch (hw_link_info->phy_type_low) {
hw_link_info      245 drivers/net/ethernet/intel/ice/ice_common.c 		switch (hw_link_info->phy_type_high) {
hw_link_info     1373 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_link_status *hw_link_info;
hw_link_info     1379 drivers/net/ethernet/intel/ice/ice_ethtool.c 	hw_link_info = &vsi->port_info->phy.link_info;
hw_link_info     1390 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1391 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100MB)
hw_link_info     1399 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1400 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB)
hw_link_info     1407 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1408 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB)
hw_link_info     1416 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1417 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB)
hw_link_info     1424 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1425 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_2500MB)
hw_link_info     1433 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1434 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_2500MB)
hw_link_info     1442 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1443 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_5GB)
hw_link_info     1453 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1454 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_10GB)
hw_link_info     1461 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1462 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_10GB)
hw_link_info     1469 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1470 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_10GB)
hw_link_info     1477 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1478 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_10GB)
hw_link_info     1490 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1491 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_25GB)
hw_link_info     1499 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1500 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_25GB)
hw_link_info     1509 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1510 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_25GB)
hw_link_info     1517 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1518 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_40GB)
hw_link_info     1527 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1528 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_40GB)
hw_link_info     1535 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1536 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_40GB)
hw_link_info     1543 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1544 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_40GB)
hw_link_info     1559 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1560 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_50GB)
hw_link_info     1568 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1569 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_50GB)
hw_link_info     1579 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1580 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_50GB)
hw_link_info     1597 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1598 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100GB)
hw_link_info     1610 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1611 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100GB)
hw_link_info     1623 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1624 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100GB)
hw_link_info     1637 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (!hw_link_info->req_speeds ||
hw_link_info     1638 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100GB)
hw_link_info     2091 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_link_status *hw_link_info;
hw_link_info     2099 drivers/net/ethernet/intel/ice/ice_ethtool.c 	hw_link_info = &vsi->port_info->phy.link_info;
hw_link_info     2102 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (hw_link_info->link_info & ICE_AQ_LINK_UP)
hw_link_info     2108 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ?
hw_link_info     2844 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_link_status *hw_link_info;
hw_link_info     2857 drivers/net/ethernet/intel/ice/ice_ethtool.c 	hw_link_info = &pi->phy.link_info;
hw_link_info     2859 drivers/net/ethernet/intel/ice/ice_ethtool.c 	link_up = hw_link_info->link_info & ICE_AQ_LINK_UP;
hw_link_info     2899 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) {