Searched refs:hw_link_info (Results 1 – 3 of 3) 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 …]
510 struct ice_link_status *hw_link_info; in ice_get_media_type() local 515 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 in ice_get_media_type() [all...]
2322 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local2329 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()2332 if (hw_link_info->link_info & ICE_AQ_LINK_UP) in ice_get_link_ksettings()2338 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()3497 struct ice_link_status *hw_link_info; in ice_set_pauseparam() local3509 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam()3511 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()3551 !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) { in ice_set_pauseparam()