Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c1043 hw->phy.phy_type_low = le64_to_cpu(pcaps->phy_type_low); in ixgbe_aci_get_phy_caps()
1067 cfg->phy_type_low = caps->phy_type_low; in ixgbe_copy_phy_caps_to_cfg()
1198 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ixgbe_get_media_type_from_phy_type()
1202 if (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1208 if (hw_link_info->phy_type_low == IXGBE_PHY_TYPE_LOW_1G_SGMII && in ixgbe_get_media_type_from_phy_type()
1215 switch (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1378 li->phy_type_low = le64_to_cpu(link_data.phy_type_low); in ixgbe_aci_get_link_info()
1558 hw->link.link_info.phy_type_low = 0; in ixgbe_get_media_type_e610()
1560 highest_bit = fls64(le64_to_cpu(pcaps.phy_type_low)); in ixgbe_get_media_type_e610()
1562 hw->link.link_info.phy_type_low = in ixgbe_get_media_type_e610()
[all …]
H A Dixgbe_type_e610.h305 __le64 phy_type_low; /* Use values from IXGBE_PHY_TYPE_LOW_* */ member
382 __le64 phy_type_low; /* Use values from IXGBE_PHY_TYPE_LOW_* */ member
515 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
798 u64 phy_type_low; member
/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()
3387 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
3392 switch (phy_type_low) { in ice_get_link_speed_based_on_phy_type()
[all …]
H A Dice_main.c2026 pf->nvm_phy_type_lo = pcaps->phy_type_low; in ice_init_nvm_phy_type()
2089 if (ldo->phy_type_low || ldo->phy_type_high) { in ice_init_phy_cfg_dflt_override()
2090 cfg->phy_type_low = pf->nvm_phy_type_lo & in ice_init_phy_cfg_dflt_override()
2091 cpu_to_le64(ldo->phy_type_low); in ice_init_phy_cfg_dflt_override()
2252 cfg->phy_type_low = phy->curr_user_phy_cfg.phy_type_low; in ice_configure_phy()
2259 cfg->phy_type_low = pcaps->phy_type_low & cpu_to_le64(phy_low); in ice_configure_phy()
2265 if (!cfg->phy_type_low && !cfg->phy_type_high) { in ice_configure_phy()
2266 cfg->phy_type_low = pcaps->phy_type_low; in ice_configure_phy()