Home
last modified time | relevance | path

Searched refs:hw_link_info (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c485 struct i40e_link_status *hw_link_info = &pf->hw.phy.link_info; in i40e_phy_type_to_ethtool() local
494 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()
511 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()
518 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()
525 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_2_5GB) in i40e_phy_type_to_ethtool()
532 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB) in i40e_phy_type_to_ethtool()
545 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_40GB) in i40e_phy_type_to_ethtool()
552 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB) in i40e_phy_type_to_ethtool()
559 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()
584 if (hw_link_info in i40e_phy_type_to_ethtool()
766 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_settings_link_up() local
1063 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_link_ksettings() local
1565 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_pauseparam() local
1601 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_set_pauseparam() local
[all...]
H A Di40e_ptp.c456 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local
461 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()
465 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
H A Di40e_common.c1835 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local
1854 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()
1857 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; in i40e_aq_get_link_info()
1859 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; in i40e_aq_get_link_info()
1860 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()
1861 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()
1862 hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA | in i40e_aq_get_link_info()
1864 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()
1865 hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK; in i40e_aq_get_link_info()
1866 hw_link_info in i40e_aq_get_link_info()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c491 struct i40e_link_status *hw_link_info = &pf->hw.phy.link_info; in i40e_phy_type_to_ethtool() local
500 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()
517 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()
524 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()
531 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_2_5GB) in i40e_phy_type_to_ethtool()
538 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB) in i40e_phy_type_to_ethtool()
551 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_40GB) in i40e_phy_type_to_ethtool()
558 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB) in i40e_phy_type_to_ethtool()
565 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()
590 if (hw_link_info in i40e_phy_type_to_ethtool()
772 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_settings_link_up() local
1069 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_link_ksettings() local
1663 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_get_pauseparam() local
1699 struct i40e_link_status *hw_link_info = &hw->phy.link_info; i40e_set_pauseparam() local
[all...]
H A Di40e_common.c1579 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local
1598 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()
1601 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; in i40e_aq_get_link_info()
1603 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; in i40e_aq_get_link_info()
1604 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()
1605 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()
1606 hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA | in i40e_aq_get_link_info()
1608 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()
1609 hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK; in i40e_aq_get_link_info()
1610 hw_link_info in i40e_aq_get_link_info()
[all...]
H A Di40e_ptp.c859 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local
864 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()
868 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_common.c262 struct ice_link_status *hw_link_info; in ice_get_media_type() local
267 hw_link_info = &pi->phy.link_info; in ice_get_media_type()
268 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()
272 if (hw_link_info->phy_type_low) { in ice_get_media_type()
278 if (hw_link_info->phy_type_low == ICE_PHY_TYPE_LOW_1G_SGMII && in ice_get_media_type()
279 (hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()
281 hw_link_info->module_type[ICE_AQC_MOD_TYPE_IDENT] == in ice_get_media_type()
285 switch (hw_link_info->phy_type_low) { in ice_get_media_type()
357 switch (hw_link_info in ice_get_media_type()
[all...]
H A Dice_ethtool.c1925 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local
1933 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()
1936 if (hw_link_info->link_info & ICE_AQ_LINK_UP) in ice_get_link_ksettings()
1942 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()
3018 struct ice_link_status *hw_link_info; in ice_set_pauseparam() local
3031 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam()
3033 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()
3073 !(hw_link_info->an_info & ICE_AQ_AN_COMPLETED)) { in ice_set_pauseparam()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_common.c462 struct ice_link_status *hw_link_info; in ice_get_media_type() local
467 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 in ice_get_media_type()
[all...]
H A Dice_ethtool.c1897 struct ice_link_status *hw_link_info; in ice_get_link_ksettings() local
1904 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() local
3009 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()

Completed in 32 milliseconds