Searched refs:hw_link_info (Results 1 – 6 of 6) sorted by relevance
504 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()542 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB) in i40e_phy_type_to_ethtool()778 u32 link_speed = hw_link_info->link_speed; in i40e_get_settings_link_up()781 switch (hw_link_info->phy_type) { in i40e_get_settings_link_up()838 if (hw_link_info->module_type[2] & in i40e_get_settings_link_up()840 hw_link_info->module_type[2] & in i40e_get_settings_link_up()844 if (hw_link_info->requested_speeds & in i40e_get_settings_link_up()925 if (hw_link_info->requested_speeds & in i40e_get_settings_link_up()994 hw_link_info->phy_type); in i40e_get_settings_link_up()1667 ((hw_link_info->an_info & I40E_AQ_AN_COMPLETED) ? in i40e_get_pauseparam()[all …]
1344 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()1350 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()1351 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()1354 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()1372 hw_link_info->crc_enable = true; in i40e_aq_get_link_info()1374 hw_link_info->crc_enable = false; in i40e_aq_get_link_info()1377 hw_link_info->lse_enable = true; in i40e_aq_get_link_info()1379 hw_link_info->lse_enable = false; in i40e_aq_get_link_info()1382 hw_link_info->phy_type == 0xE) in i40e_aq_get_link_info()1383 hw_link_info->phy_type = I40E_PHY_TYPE_10GBASE_SFPP_CU; 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()
1142 struct ixgbe_link_status *hw_link_info; in ixgbe_get_media_type_from_phy_type() local1147 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()
536 struct ice_link_status *hw_link_info; in ice_get_media_type() local541 hw_link_info = &pi->phy.link_info; in ice_get_media_type()542 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()546 if (hw_link_info->phy_type_low) { in ice_get_media_type()552 if (hw_link_info->phy_type_low == ICE_PHY_TYPE_LOW_1G_SGMII && in ice_get_media_type()553 (hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()555 hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()559 switch (hw_link_info->phy_type_low) { in ice_get_media_type()631 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
2312 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local2319 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() local3493 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()