Lines Matching full:speed

71 	[USB_SPEED_LOW] = "low-speed",
72 [USB_SPEED_FULL] = "full-speed",
73 [USB_SPEED_HIGH] = "high-speed",
75 [USB_SPEED_SUPER] = "super-speed",
76 [USB_SPEED_SUPER_PLUS] = "super-speed-plus",
81 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1",
82 [USB_SSP_GEN_1x2] = "super-speed-plus-gen1x2",
83 [USB_SSP_GEN_2x2] = "super-speed-plus-gen2x2",
87 * usb_speed_string() - Returns human readable-name of the speed.
88 * @speed: The speed to return human-readable name for. If it's not
92 const char *usb_speed_string(enum usb_device_speed speed) in usb_speed_string() argument
94 if (speed < 0 || speed >= ARRAY_SIZE(speed_names)) in usb_speed_string()
95 speed = USB_SPEED_UNKNOWN; in usb_speed_string()
96 return speed_names[speed]; in usb_speed_string()
101 * usb_get_maximum_speed - Get maximum requested speed for a given USB
105 * The function gets the maximum speed string from property "maximum-speed",
110 const char *p = "maximum-speed"; in usb_get_maximum_speed()
130 * If the string from "maximum-speed" property is super-speed-plus-genXxY where
139 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
226 * @speed: The speed that the endpoint works as
232 enum usb_device_speed speed) in usb_decode_interval() argument
239 if (speed == USB_SPEED_HIGH) in usb_decode_interval()
247 if (speed == USB_SPEED_HIGH && usb_endpoint_dir_out(epd)) in usb_decode_interval()
251 if (speed >= USB_SPEED_HIGH) in usb_decode_interval()
258 interval *= (speed >= USB_SPEED_HIGH) ? 125 : 1000; in usb_decode_interval()