Searched refs:hw_link_info (Results 1 – 5 of 5) sorted by relevance
1297 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local1319 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()1322 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; in i40e_aq_get_link_info()1324 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; in i40e_aq_get_link_info()1325 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()1326 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()1327 hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA | in i40e_aq_get_link_info()1329 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()1330 hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK; in i40e_aq_get_link_info()1331 hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size); in i40e_aq_get_link_info()[all …]
860 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local865 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()869 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
1192 struct ixgbe_link_status *hw_link_info; in ixgbe_get_media_type_from_phy_type() local1197 hw_link_info = &hw->link.link_info; in ixgbe_get_media_type_from_phy_type()1198 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ixgbe_get_media_type_from_phy_type()1202 if (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()1208 if (hw_link_info->phy_type_low == IXGBE_PHY_TYPE_LOW_1G_SGMII && in ixgbe_get_media_type_from_phy_type()1209 (hw_link_info->module_type[IXGBE_ACI_MOD_TYPE_IDENT] == in ixgbe_get_media_type_from_phy_type()1211 hw_link_info->module_type[IXGBE_ACI_MOD_TYPE_IDENT] == in ixgbe_get_media_type_from_phy_type()1215 switch (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()1254 switch (hw_link_info->phy_type_high) { in ixgbe_get_media_type_from_phy_type()
510 struct ice_link_status *hw_link_info; in ice_get_media_type() local515 hw_link_info = &pi->phy.link_info; in ice_get_media_type()516 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()520 if (hw_link_info->phy_type_low) { in ice_get_media_type()526 if (hw_link_info->phy_type_low == ICE_PHY_TYPE_LOW_1G_SGMII && in ice_get_media_type()527 (hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()529 hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()533 switch (hw_link_info->phy_type_low) { in ice_get_media_type()605 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
2330 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local2337 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()2340 if (hw_link_info->link_info & ICE_AQ_LINK_UP) in ice_get_link_ksettings()2346 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()3505 struct ice_link_status *hw_link_info; in ice_set_pauseparam() local3517 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam()3519 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()3559 !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) { in ice_set_pauseparam()