Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c1044 hw->phy.phy_type_high = le64_to_cpu(pcaps->phy_type_high); in ixgbe_aci_get_phy_caps()
1068 cfg->phy_type_high = caps->phy_type_high; 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()
1254 switch (hw_link_info->phy_type_high) { in ixgbe_get_media_type_from_phy_type()
1379 li->phy_type_high = le64_to_cpu(link_data.phy_type_high); in ixgbe_aci_get_link_info()
1554 highest_bit = fls64(le64_to_cpu(pcaps.phy_type_high)); in ixgbe_get_media_type_e610()
1556 hw->link.link_info.phy_type_high = in ixgbe_get_media_type_e610()
1564 hw->link.link_info.phy_type_high = 0; in ixgbe_get_media_type_e610()
1916 u64 phy_type_low, phy_type_high; in ixgbe_identify_phy_e610() local
1939 phy_type_high = le64_to_cpu(pcaps.phy_type_high); in ixgbe_identify_phy_e610()
[all …]
H A Dixgbe_type_e610.h306 __le64 phy_type_high; /* Use values from IXGBE_PHY_TYPE_HIGH_* */ member
383 __le64 phy_type_high; /* Use values from IXGBE_PHY_TYPE_HIGH_* */ member
516 __le64 phy_type_high; /* Use values from ICE_PHY_TYPE_HIGH_* */ member
799 u64 phy_type_high; member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c340 le64_to_cpu(pcaps->phy_type_high), prefix); in ice_aq_get_phy_caps()
366 pi->phy.phy_type_high = le64_to_cpu(pcaps->phy_type_high); 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()
605 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
688 li->phy_type_high = le64_to_cpu(link_data.phy_type_high); in ice_aq_get_link_info()
719 (unsigned long long)li->phy_type_high); 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
3480 switch (phy_type_high) { in ice_get_link_speed_based_on_phy_type()
3532 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high, in ice_update_phy_type() argument
3555 *phy_type_high |= BIT_ULL(index); in ice_update_phy_type()
[all …]
H A Dice_ethtool.c2156 (ldo->phy_type_low || ldo->phy_type_high)) { in ice_phy_type_to_ethtool()
2162 ldo->phy_type_high; in ice_phy_type_to_ethtool()
2168 phy_types_high = vsi->port_info->phy.phy_type_high; in ice_phy_type_to_ethtool()
2176 advert_phy_type_hi = vsi->port_info->phy.phy_type_high; in ice_phy_type_to_ethtool()
2572 u64 *phy_type_low, u64 *phy_type_high, in ice_set_phy_type_from_speed() argument
2595 ice_update_phy_type(phy_type_low, phy_type_high, adv_link_speed); in ice_set_phy_type_from_speed()
2619 u64 phy_type_high = 0; in ice_set_link_ksettings() local
2729 ice_set_phy_type_from_speed(ks, &phy_type_low, &phy_type_high, in ice_set_link_ksettings()
2744 if (!(phy_type_low || phy_type_high)) { in ice_set_link_ksettings()
2753 config.phy_type_high = cpu_to_le64(phy_type_high) & in ice_set_link_ksettings()
[all …]
H A Dice_main.c2025 pf->nvm_phy_type_hi = pcaps->phy_type_high; in ice_init_nvm_phy_type()
2089 if (ldo->phy_type_low || ldo->phy_type_high) { in ice_init_phy_cfg_dflt_override()
2092 cfg->phy_type_high = pf->nvm_phy_type_hi & in ice_init_phy_cfg_dflt_override()
2093 cpu_to_le64(ldo->phy_type_high); in ice_init_phy_cfg_dflt_override()
2253 cfg->phy_type_high = phy->curr_user_phy_cfg.phy_type_high; in ice_configure_phy()
2260 cfg->phy_type_high = pcaps->phy_type_high & in ice_configure_phy()
2265 if (!cfg->phy_type_low && !cfg->phy_type_high) { in ice_configure_phy()
2267 cfg->phy_type_high = pcaps->phy_type_high; in ice_configure_phy()