Searched refs:hw_link_info (Results 1 – 5 of 5) sorted by relevance
501 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()539 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB) in i40e_phy_type_to_ethtool()775 u32 link_speed = hw_link_info->link_speed; in i40e_get_settings_link_up()778 switch (hw_link_info->phy_type) { in i40e_get_settings_link_up()835 if (hw_link_info->module_type[2] & in i40e_get_settings_link_up()837 hw_link_info->module_type[2] & in i40e_get_settings_link_up()841 if (hw_link_info->requested_speeds & in i40e_get_settings_link_up()922 if (hw_link_info->requested_speeds & in i40e_get_settings_link_up()991 hw_link_info->phy_type); in i40e_get_settings_link_up()1668 ((hw_link_info->an_info & I40E_AQ_AN_COMPLETED) ? in i40e_get_pauseparam()[all …]
1583 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local1602 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()1608 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()1609 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()1612 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()1630 hw_link_info->crc_enable = true; in i40e_aq_get_link_info()1632 hw_link_info->crc_enable = false; in i40e_aq_get_link_info()1635 hw_link_info->lse_enable = true; in i40e_aq_get_link_info()1637 hw_link_info->lse_enable = false; in i40e_aq_get_link_info()1642 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()
462 struct ice_link_status *hw_link_info; in ice_get_media_type() local467 hw_link_info = &pi->phy.link_info; in ice_get_media_type()468 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()472 if (hw_link_info->phy_type_low) { in ice_get_media_type()478 if (hw_link_info->phy_type_low == ICE_PHY_TYPE_LOW_1G_SGMII && in ice_get_media_type()479 (hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()481 hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()485 switch (hw_link_info->phy_type_low) { in ice_get_media_type()557 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
1897 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local1904 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()1907 if (hw_link_info->link_info & ICE_AQ_LINK_UP) in ice_get_link_ksettings()1913 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()2997 struct ice_link_status *hw_link_info; in ice_set_pauseparam() local3009 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam()3011 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()3051 !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) { in ice_set_pauseparam()