/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 173 ice_debug(hw, ICE_DBG_LINK, " phy_type_low = 0x%llx\n", in ice_aq_get_phy_caps() 174 (unsigned long long)le64_to_cpu(pcaps->phy_type_low)); in ice_aq_get_phy_caps() 197 pi->phy.phy_type_low = le64_to_cpu(pcaps->phy_type_low); in ice_aq_get_phy_caps() 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() 285 switch (hw_link_info->phy_type_low) { in ice_get_media_type() 421 li->phy_type_low = le64_to_cpu(link_data.phy_type_low); in ice_aq_get_link_info() 2438 ice_get_link_speed_based_on_phy_type(u64 phy_type_low, u64 phy_type_high) ice_get_link_speed_based_on_phy_type() argument 2573 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high, u16 link_speeds_bitmap) ice_update_phy_type() argument [all...] |
H A D | ice_ethtool.c | 1531 (ldo->phy_type_low || ldo->phy_type_high)) { in ice_phy_type_to_ethtool() 1534 ldo->phy_type_low; in ice_phy_type_to_ethtool() 1540 phy_types_low = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool() 1548 adv_phy_type_lo = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool() 2182 * @phy_type_low: pointer to the lower part of phy_type 2188 u64 *phy_type_low, u64 *phy_type_high, in ice_set_phy_type_from_speed() 2199 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_T | in ice_set_phy_type_from_speed() 2204 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_KX; in ice_set_phy_type_from_speed() 2208 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_SX | in ice_set_phy_type_from_speed() 2211 ice_update_phy_type(phy_type_low, phy_type_hig in ice_set_phy_type_from_speed() 2187 ice_set_phy_type_from_speed(const struct ethtool_link_ksettings *ks, u64 *phy_type_low, u64 *phy_type_high, u16 adv_link_speed) ice_set_phy_type_from_speed() argument 2236 u64 phy_type_low = 0; ice_set_link_ksettings() local [all...] |
H A D | ice_type.h | 143 u64 phy_type_low; member 174 u64 phy_type_low; member 345 u64 phy_type_low; member
|
H A D | ice_common.h | 94 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high,
|
H A D | ice_main.c | 1720 pf->nvm_phy_type_lo = pcaps->phy_type_low; in ice_init_nvm_phy_type() 1780 if (ldo->phy_type_low || ldo->phy_type_high) { in ice_init_phy_cfg_dflt_override() 1781 cfg->phy_type_low = pf->nvm_phy_type_lo & in ice_init_phy_cfg_dflt_override() 1782 cpu_to_le64(ldo->phy_type_low); in ice_init_phy_cfg_dflt_override() 1945 cfg->phy_type_low = pi->phy.curr_user_phy_cfg.phy_type_low; in ice_configure_phy() 1952 cfg->phy_type_low = pcaps->phy_type_low & cpu_to_le64(phy_low); in ice_configure_phy() 1958 if (!cfg->phy_type_low && !cfg->phy_type_high) { in ice_configure_phy() 1959 cfg->phy_type_low in ice_configure_phy() [all...] |
H A D | ice_adminq_cmd.h | 884 * The first set of defines is for phy_type_low. 960 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member 1036 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member 1176 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 90 * @low: 64 bit value for phy_type_low 97 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_low: 0x%016llx\n", prefix, low); in ice_dump_phy_type() 369 ice_dump_phy_type(hw, le64_to_cpu(pcaps->phy_type_low), in ice_aq_get_phy_caps() 395 pi->phy.phy_type_low = le64_to_cpu(pcaps->phy_type_low); in ice_aq_get_phy_caps() 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() 485 switch (hw_link_info->phy_type_low) { in ice_get_media_type() 621 li->phy_type_low in ice_aq_get_link_info() 3028 ice_get_link_speed_based_on_phy_type(u64 phy_type_low, u64 phy_type_high) ice_get_link_speed_based_on_phy_type() argument 3163 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high, u16 link_speeds_bitmap) ice_update_phy_type() argument [all...] |
H A D | ice_ethtool.c | 1734 (ldo->phy_type_low || ldo->phy_type_high)) { in ice_phy_type_to_ethtool() 1737 ldo->phy_type_low; in ice_phy_type_to_ethtool() 1745 phy_types_low = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool() 1753 advert_phy_type_lo = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool() 2151 * @phy_type_low: pointer to the lower part of phy_type 2157 u64 *phy_type_low, u64 *phy_type_high, in ice_set_phy_type_from_speed() 2168 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_T | in ice_set_phy_type_from_speed() 2173 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_KX; in ice_set_phy_type_from_speed() 2177 *phy_type_low |= ICE_PHY_TYPE_LOW_1000BASE_SX | in ice_set_phy_type_from_speed() 2180 ice_update_phy_type(phy_type_low, phy_type_hig in ice_set_phy_type_from_speed() 2156 ice_set_phy_type_from_speed(const struct ethtool_link_ksettings *ks, u64 *phy_type_low, u64 *phy_type_high, u16 adv_link_speed) ice_set_phy_type_from_speed() argument 2205 u64 phy_type_low = 0; ice_set_link_ksettings() local [all...] |
H A D | ice_type.h | 155 u64 phy_type_low; member 187 u64 phy_type_low; member 505 u64 phy_type_low; member
|
H A D | ice_common.h | 102 ice_update_phy_type(u64 *phy_type_low, u64 *phy_type_high,
|
H A D | ice_adminq_cmd.h | 1029 * The first set of defines is for phy_type_low. 1105 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member 1181 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member 1324 __le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */ member
|
H A D | ice_main.c | 1981 pf->nvm_phy_type_lo = pcaps->phy_type_low; in ice_init_nvm_phy_type() 2044 if (ldo->phy_type_low || ldo->phy_type_high) { in ice_init_phy_cfg_dflt_override() 2045 cfg->phy_type_low = pf->nvm_phy_type_lo & in ice_init_phy_cfg_dflt_override() 2046 cpu_to_le64(ldo->phy_type_low); in ice_init_phy_cfg_dflt_override() 2207 cfg->phy_type_low = phy->curr_user_phy_cfg.phy_type_low; in ice_configure_phy() 2214 cfg->phy_type_low = pcaps->phy_type_low & cpu_to_le64(phy_low); in ice_configure_phy() 2220 if (!cfg->phy_type_low && !cfg->phy_type_high) { in ice_configure_phy() 2221 cfg->phy_type_low in ice_configure_phy() [all...] |