Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixgbe/
H A Dixgbe_e610.c1263 hw->phy.phy_type_low = IXGBE_LE64_TO_CPU(pcaps->phy_type_low); in ixgbe_aci_get_phy_caps()
1299 if (phy_caps->phy_type_low != phy_cfg->phy_type_low || in ixgbe_phy_caps_equals_cfg()
1326 cfg->phy_type_low = caps->phy_type_low; in ixgbe_copy_phy_caps_to_cfg()
1422 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ixgbe_get_media_type_from_phy_type()
1426 if (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1432 if (hw_link_info->phy_type_low == IXGBE_PHY_TYPE_LOW_1G_SGMII && in ixgbe_get_media_type_from_phy_type()
1439 switch (hw_link_info->phy_type_low) { in ixgbe_get_media_type_from_phy_type()
1591 li->phy_type_low = IXGBE_LE64_TO_CPU(link_data.phy_type_low); in ixgbe_aci_get_link_info()
4064 hw->link.link_info.phy_type_low = 0; in ixgbe_get_media_type_E610()
4074 if ((pcaps.phy_type_low & phy_mask) != 0) { in ixgbe_get_media_type_E610()
[all …]
H A Dixgbe_type_e610.h818 __le64 phy_type_low; /* Use values from IXGBE_PHY_TYPE_LOW_* */ member
898 __le64 phy_type_low; /* Use values from IXGBE_PHY_TYPE_LOW_* */ member
1041 __le64 phy_type_low; /* Use values from IXGBE_PHY_TYPE_LOW_* */ member
2020 u64 phy_type_low; member
H A Dixgbe_type.h4265 u64 phy_type_low; member
/freebsd/sys/dev/ice/
H A Dice_common.c436 ice_phy_maps_to_media(u64 phy_type_low, u64 phy_type_high, in ice_phy_maps_to_media() argument
440 if (!(phy_type_low & media_mask_low || in ice_phy_maps_to_media()
445 if (!(phy_type_low & ~media_mask_low) && in ice_phy_maps_to_media()
462 u64 phy_type_high, phy_type_low; in ice_set_media_type() local
465 phy_type_low = pi->phy.phy_type_low; in ice_set_media_type()
472 else if (ice_phy_maps_to_media(phy_type_low, phy_type_high, in ice_set_media_type()
476 else if (phy_type_low & ICE_MEDIA_BP_PHY_TYPE_LOW_M || in ice_set_media_type()
482 else if (ice_phy_maps_to_media(phy_type_low, phy_type_high, in ice_set_media_type()
485 ((phy_type_low & ICE_MEDIA_OPT_PHY_TYPE_LOW_M || in ice_set_media_type()
487 (phy_type_low & ICE_MEDIA_C2M_PHY_TYPE_LOW_M || in ice_set_media_type()
[all …]
H A Dice_lib.c133 static u16 ice_aq_phy_types_to_link_speeds(u64 phy_type_low,
152 ice_sysctl_speeds_to_aq_phy_types(u16 sysctl_speeds, u64 *phy_type_low,
975 ice_get_phy_type_low(uint64_t phy_type_low) in ice_get_phy_type_low() argument
977 switch (phy_type_low) { in ice_get_phy_type_low()
1169 uint64_t phy_low = pi->phy.phy_type_low; in ice_phy_types_to_max_rate()
1321 phy_low = le64toh(pcaps.phy_type_low); in ice_add_media_types()
3130 ice_aq_phy_types_to_link_speeds(u64 phy_type_low, u64 phy_type_high) in ice_aq_phy_types_to_link_speeds() argument
3136 for_each_set_bit(bit, &phy_type_low, 64) in ice_aq_phy_types_to_link_speeds()
3160 ice_sysctl_speeds_to_aq_phy_types(u16 sysctl_speeds, u64 *phy_type_low, in ice_sysctl_speeds_to_aq_phy_types() argument
3163 *phy_type_low = 0, *phy_type_high = 0; in ice_sysctl_speeds_to_aq_phy_types()
[all …]
H A Dice_type.h346 u64 phy_type_low;
387 u64 phy_type_low;
718 u64 phy_type_low;
330 u64 phy_type_low; global() member
371 u64 phy_type_low; global() member
697 u64 phy_type_low; global() member
H A Dice_common.h200 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high,
H A Dice_lib.h943 int ice_get_phy_type_low(uint64_t phy_type_low);
H A Dice_adminq_cmd.h1411 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
1493 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
1658 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
H A Dif_ice_iflib.c1996 if (li->phy_type_low) in ice_if_media_status()
1997 ifmr->ifm_active |= ice_get_phy_type_low(li->phy_type_low); in ice_if_media_status()