Lines Matching refs:speed

53  * function_descriptors() - get function descriptors for speed
55 * @speed: the speed
61 enum usb_device_speed speed)
70 switch (speed) {
131 * according to gadget speed.
140 * endpoint according to gadget speed and saves it in the
160 struct usb_descriptor_header **d_spd; /* cursor for speed desc */
165 /* select desired speed */
166 switch (g->speed) {
219 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) ||
235 if (g->speed >= USB_SPEED_SUPER) {
262 * according to gadget speed.
270 * endpoint according to gadget speed and saves it in the
333 * as full speed ... it's the function drivers that will need
479 static u8 encode_bMaxPower(enum usb_device_speed speed,
490 if (speed < USB_SPEED_SUPER)
501 enum usb_device_speed speed, void *buf, u8 type)
519 c->bMaxPower = encode_bMaxPower(speed, config);
535 descriptors = function_descriptors(f, speed);
557 enum usb_device_speed speed = USB_SPEED_UNKNOWN;
559 if (gadget->speed >= USB_SPEED_SUPER)
560 speed = gadget->speed;
563 if (gadget->speed == USB_SPEED_HIGH)
568 speed = USB_SPEED_HIGH;
588 /* ignore configs that won't work at this speed */
589 switch (speed) {
608 return config_buf(c, speed, cdev->req->buf, type);
624 if (gadget->speed == USB_SPEED_HIGH)
626 if (gadget->speed == USB_SPEED_SUPER)
628 if (gadget->speed == USB_SPEED_SUPER_PLUS)
634 /* ignore configs that won't work at this speed */
850 usb_speed_string(gadget->speed),
873 descriptors = function_descriptors(f, gadget->speed);
913 if (gadget->speed < USB_SPEED_SUPER)
1694 if (gadget->speed >= USB_SPEED_SUPER) {
1712 gadget->speed >= USB_SPEED_SUPER)
1720 gadget->speed >= USB_SPEED_SUPER)
2380 if (gadget->speed < USB_SPEED_SUPER)