Searched refs:adver (Results 1 – 3 of 3) sorted by relevance
28 local adver=$1; shift33 if (($adver)); then39 local -a dev_linkmodes=($(dev_speeds_get $dev 1 $adver))63 local adver=$1; shift66 if (($adver)); then95 adver=$1; shift97 local -a dev1_speeds=($(dev_speeds_get $dev1 $with_mode $adver))98 local -a dev2_speeds=($(dev_speeds_get $dev2 $with_mode $adver))110 local adver=$1; shift114 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
135 local adver=$1; shift137 local -a speeds_arr=($(common_speeds_get $dev1 $dev2 0 $adver))142 local -a speeds_mode_arr=($(common_speeds_get $dev1 $dev2 1 $adver))
1157 static bool ext_link_mode_requested(const unsigned long *adver) in ext_link_mode_requested() argument1164 return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); in ext_link_mode_requested()1167 static bool ext_requested(u8 autoneg, const unsigned long *adver, bool ext_supported) in ext_requested() argument1169 bool ext_link_mode = ext_link_mode_requested(adver); in ext_requested()1179 const unsigned long *adver; in mlx5e_ethtool_set_link_ksettings() local1192 u32 (*ethtool2ptys_adver_func)(const unsigned long *adver); in mlx5e_ethtool_set_link_ksettings()1194 adver = link_ksettings->link_modes.advertising; in mlx5e_ethtool_set_link_ksettings()1199 ext = ext_requested(autoneg, adver, ext_supported); in mlx5e_ethtool_set_link_ksettings()1211 link_modes = autoneg == AUTONEG_ENABLE ? ethtool2ptys_adver_func(adver) : in mlx5e_ethtool_set_link_ksettings()