Home
last modified time | relevance | path

Searched refs:hw_link_info (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c1142 struct ixgbe_link_status *hw_link_info; in ixgbe_get_media_type_from_phy_type() local
1147 hw_link_info = &hw->link.link_info; in ixgbe_get_media_type_from_phy_type()
1148 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ixgbe_get_media_type_from_phy_type()
1152 if (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1158 if (hw_link_info->phy_type_low == IXGBE_PHY_TYPE_LOW_1G_SGMII && in ixgbe_get_media_type_from_phy_type()
1159 (hw_link_info->module_type[IXGBE_ACI_MOD_TYPE_IDENT] == in ixgbe_get_media_type_from_phy_type()
1161 hw_link_info->module_type[IXGBE_ACI_MOD_TYPE_IDENT] == in ixgbe_get_media_type_from_phy_type()
1165 switch (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1204 switch (hw_link_info->phy_type_high) { in ixgbe_get_media_type_from_phy_type()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c860 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local
865 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()
869 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c650 struct ice_link_status *hw_link_info; in ice_get_media_type() local
655 hw_link_info = &pi->phy.link_info; in ice_get_media_type()
656 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()
660 if (hw_link_info->phy_type_low) { in ice_get_media_type()
666 if (hw_link_info->phy_type_low == ICE_PHY_TYPE_LOW_1G_SGMII && in ice_get_media_type()
667 (hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()
669 hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()
673 switch (hw_link_info->phy_type_low) { in ice_get_media_type()
745 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
H A Dice_ethtool.c2312 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local
2319 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()
2322 if (hw_link_info->link_info & ICE_AQ_LINK_UP) in ice_get_link_ksettings()
2328 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()
3481 struct ice_link_status *hw_link_info; in ice_set_pauseparam() local
3493 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam()
3495 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()
3535 !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) { in ice_set_pauseparam()