Home
last modified time | relevance | path

Searched refs:phy_type_low (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c2156 (ldo->phy_type_low || ldo->phy_type_high)) { in ice_phy_type_to_ethtool()
2159 ldo->phy_type_low; in ice_phy_type_to_ethtool()
2167 phy_types_low = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool()
2175 advert_phy_type_lo = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool()
2572 u64 *phy_type_low, u64 *phy_type_high, in ice_set_phy_type_from_speed() argument
2583 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_T | in ice_set_phy_type_from_speed()
2588 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_KX; in ice_set_phy_type_from_speed()
2592 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_SX | in ice_set_phy_type_from_speed()
2595 ice_update_phy_type(phy_type_low, phy_type_high, adv_link_speed); in ice_set_phy_type_from_speed()
2620 u64 phy_type_low = 0; in ice_set_link_ksettings() local
[all …]
H A Dice_common.c339 ice_dump_phy_type(hw, le64_to_cpu(pcaps->phy_type_low), in ice_aq_get_phy_caps()
365 pi->phy.phy_type_low = le64_to_cpu(pcaps->phy_type_low); in ice_aq_get_phy_caps()
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()
533 switch (hw_link_info->phy_type_low) { in ice_get_media_type()
687 li->phy_type_low = le64_to_cpu(link_data.phy_type_low); in ice_aq_get_link_info()
717 (unsigned long long)li->phy_type_low); in ice_aq_get_link_info()
3385 u16 ice_get_link_speed_based_on_phy_type(u64 phy_type_low, u64 phy_type_high) in ice_get_link_speed_based_on_phy_type() argument
3390 switch (phy_type_low) { in ice_get_link_speed_based_on_phy_type()
[all …]
H A Dice_common.h175 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high,
344 u16 ice_get_link_speed_based_on_phy_type(u64 phy_type_low, u64 phy_type_high);
H A Dice_main.c1950 pf->nvm_phy_type_lo = pcaps->phy_type_low; in ice_init_nvm_phy_type()
2013 if (ldo->phy_type_low || ldo->phy_type_high) { in ice_init_phy_cfg_dflt_override()
2014 cfg->phy_type_low = pf->nvm_phy_type_lo & in ice_init_phy_cfg_dflt_override()
2015 cpu_to_le64(ldo->phy_type_low); in ice_init_phy_cfg_dflt_override()
2175 cfg->phy_type_low = phy->curr_user_phy_cfg.phy_type_low; in ice_phy_cfg()
2182 cfg->phy_type_low = pcaps->phy_type_low & cpu_to_le64(phy_low); in ice_phy_cfg()
2188 if (!cfg->phy_type_low && !cfg->phy_type_high) { in ice_phy_cfg()
2189 cfg->phy_type_low = pcaps->phy_type_low; in ice_phy_cfg()
H A Dice_ptp_hw.c1475 u16 speed = ice_get_link_speed_based_on_phy_type(li->phy_type_low, in ice_phy_get_speed_eth56g()
1490 switch (li->phy_type_low) { in ice_phy_get_speed_eth56g()
1503 li->phy_type_low == ICE_PHY_TYPE_LOW_100GBASE_SR2) in ice_phy_get_speed_eth56g()