Lines Matching refs:speed
56 * function_descriptors() - get function descriptors for speed
58 * @speed: the speed
64 enum usb_device_speed speed)
73 switch (speed) {
134 * according to gadget speed.
143 * endpoint according to gadget speed and saves it in the
163 struct usb_descriptor_header **d_spd; /* cursor for speed desc */
170 /* select desired speed */
171 switch (g->speed) {
202 "%s doesn't hold the descriptors for current speed\n",
233 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) ||
249 if (g->speed >= USB_SPEED_SUPER) {
272 * according to gadget speed.
280 * endpoint according to gadget speed and saves it in the
343 * as full speed ... it's the function drivers that will need
529 static u8 encode_bMaxPower(enum usb_device_speed speed,
540 if (speed < USB_SPEED_SUPER)
564 enum usb_device_speed speed, void *buf, u8 type)
582 c->bMaxPower = encode_bMaxPower(speed, config);
598 descriptors = function_descriptors(f, speed);
620 enum usb_device_speed speed = USB_SPEED_UNKNOWN;
622 if (gadget->speed >= USB_SPEED_SUPER)
623 speed = gadget->speed;
626 if (gadget->speed == USB_SPEED_HIGH)
631 speed = USB_SPEED_HIGH;
651 /* ignore configs that won't work at this speed */
652 switch (speed) {
671 return config_buf(c, speed, cdev->req->buf, type);
687 if (gadget->speed == USB_SPEED_HIGH)
689 if (gadget->speed == USB_SPEED_SUPER)
691 if (gadget->speed == USB_SPEED_SUPER_PLUS)
697 /* ignore configs that won't work at this speed */
810 * Paired RX and TX sublink speed attributes share
837 * - SSID 0 for symmetric RX/TX sublink speed of 10 Gbps.
840 * - SSID 0 for symmetric RX/TX sublink speed of 5 Gbps.
843 * - SSID 0 for symmetric RX/TX sublink speed of 5 Gbps.
844 * - SSID 1 for symmetric RX/TX sublink speed of 10 Gbps.
980 usb_speed_string(gadget->speed),
1003 descriptors = function_descriptors(f, gadget->speed);
1043 if (gadget->speed < USB_SPEED_SUPER)
1834 if (gadget->speed >= USB_SPEED_SUPER) {
1852 gadget->speed >= USB_SPEED_SUPER)
1860 gadget->speed >= USB_SPEED_SUPER)
2635 if (gadget->speed < USB_SPEED_SUPER)