Lines Matching defs:speed
170 #else /* full speed (low speed doesn't do bulk) */
295 * usb 2.0 devices need to expose both high speed and full speed
296 * descriptors, unless they only run at full speed.
329 /* maxpacket and other transfer characteristics vary by speed. */
330 #define ep_desc(g, hs, fs) (((g)->speed == USB_SPEED_HIGH)?(hs):(fs))
334 /* if there's no high speed support, maxpacket doesn't change. */
968 char *speed;
974 switch (gadget->speed) {
975 case USB_SPEED_FULL: speed = "full"; break;
977 case USB_SPEED_HIGH: speed = "high"; break;
979 default: speed = "?"; break;
983 INFO(dev, "%s speed config #%d: %d mA, %s\n",
984 speed, number, power, driver_desc);
990 config_buf(enum usb_device_speed speed, u8 *buf, u8 type, unsigned index,
996 int hs = (speed == USB_SPEED_HIGH);
1166 value = config_buf(gadget->speed, req->buf,
1451 /* and that all endpoints are dual-speed */
1543 .speed = DEVSPEED,