Lines Matching refs:speed
59 for speed in "${speeds_arr[@]}"; do
61 ethtool_set $h1 speed $speed autoneg off
62 ethtool_set $h2 speed $speed autoneg off
67 check_err $? "speed $speed autoneg off"
69 log_info "speed = $speed"
86 ethtool_set $h1 speed $speed1 autoneg off
87 ethtool_set $h2 speed $speed2 autoneg off
107 for speed in "${speeds_arr[@]}"; do
109 ethtool_set $h1 speed $speed autoneg off
114 check_err $? "h1-speed=$speed autoneg off, h2 autoneg on"
116 log_info "force speed = $speed"
124 local speed=$1; shift
126 local shift_size=${speed_values[$speed]}
127 speed=$((0x1 << $"shift_size"))
128 printf "%#x" "$speed"
144 for speed in ${speeds_mode_arr[@]}; do
145 if [[ $speed != $speed_to_remove* ]]; then
146 speed=$(hex_speed_value_get $speed)
148 $speed))
167 for speed in ${supported_speeds[@]}; do
168 if [[ $speed == $speed_without_mode* ]]; then
169 speed=$(hex_speed_value_get $speed)
171 $speed))