Lines Matching full:speed
77 [USB_SPEED_LOW] = "low-speed",
78 [USB_SPEED_FULL] = "full-speed",
79 [USB_SPEED_HIGH] = "high-speed",
81 [USB_SPEED_SUPER] = "super-speed",
82 [USB_SPEED_SUPER_PLUS] = "super-speed-plus",
87 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1",
88 [USB_SSP_GEN_1x2] = "super-speed-plus-gen1x2",
89 [USB_SSP_GEN_2x2] = "super-speed-plus-gen2x2",
93 * usb_speed_string() - Returns human readable-name of the speed.
94 * @speed: The speed to return human-readable name for. If it's not
98 const char *usb_speed_string(enum usb_device_speed speed) in usb_speed_string() argument
100 if (speed < 0 || speed >= ARRAY_SIZE(speed_names)) in usb_speed_string()
101 speed = USB_SPEED_UNKNOWN; in usb_speed_string()
102 return speed_names[speed]; in usb_speed_string()
107 * usb_get_maximum_speed - Get maximum requested speed for a given USB
111 * The function gets the maximum speed string from property "maximum-speed",
116 const char *p = "maximum-speed"; in usb_get_maximum_speed()
136 * If the string from "maximum-speed" property is super-speed-plus-genXxY where
145 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
240 * @speed: The speed that the endpoint works as
246 enum usb_device_speed speed) in usb_decode_interval() argument
253 if (speed == USB_SPEED_HIGH) in usb_decode_interval()
261 if (speed == USB_SPEED_HIGH && usb_endpoint_dir_out(epd)) in usb_decode_interval()
265 if (speed >= USB_SPEED_HIGH) in usb_decode_interval()
272 interval *= (speed >= USB_SPEED_HIGH) ? 125 : 1000; in usb_decode_interval()