Lines Matching refs:speed
149 char *speed; in speed_show() local
153 switch (udev->speed) { in speed_show()
155 speed = "1.5"; in speed_show()
159 speed = "12"; in speed_show()
162 speed = "480"; in speed_show()
165 speed = "5000"; in speed_show()
169 speed = "20000"; in speed_show()
171 speed = "10000"; in speed_show()
174 speed = "unknown"; in speed_show()
176 return sysfs_emit(buf, "%s\n", speed); in speed_show()
178 static DEVICE_ATTR_RO(speed);
659 if ((udev->speed == USB_SPEED_SUPER || in add_power_attributes()
660 udev->speed == USB_SPEED_SUPER_PLUS) && in add_power_attributes()