USB_DT_DEVICE
case USB_DT_DEVICE:
} else if (header->bDescriptorType == USB_DT_DEVICE ||
USB_DT_DEVICE, /* __u8 bDescriptorType; Device */
USB_DT_DEVICE, /* __u8 bDescriptorType; Device */
USB_DT_DEVICE, /* __u8 bDescriptorType; Device */
USB_DT_DEVICE, /* __u8 bDescriptorType; Device */
dr->wValue = cpu_to_le16(USB_DT_DEVICE << 8);
case USB_DT_DEVICE << 8:
USB_DT_DEVICE << 8, 0,
if (buf->bDescriptorType == USB_DT_DEVICE) {
ret = usb_get_descriptor(udev, USB_DT_DEVICE, 0, desc, sizeof(*desc));
case USB_DT_DEVICE:
count_configs(cdev, USB_DT_DEVICE);
gi->cdev.desc.bDescriptorType = USB_DT_DEVICE;
case USB_DT_DEVICE:
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
case USB_DT_DEVICE:
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
case USB_DT_DEVICE:
|| dev->dev->bDescriptorType != USB_DT_DEVICE
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
.bDescriptorType = USB_DT_DEVICE,
case USB_DT_DEVICE:
case USB_DT_DEVICE:
.bDescriptorType = USB_DT_DEVICE,
USB_DIR_IN, USB_DT_DEVICE << 8, 0,
USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, USB_DT_DEVICE << 8,
req.wValue = cpu_to_le16(USB_DT_DEVICE << 8);
req.wValue = cpu_to_le16((USB_DT_DEVICE << 8) | 0);
retval = usb_get_descriptor(udev, USB_DT_DEVICE, 0,
if (ctrlreq->wValue == cpu_to_le16(USB_DT_DEVICE << 8))
req.wValue = cpu_to_le16(USB_DT_DEVICE << 8);
#define USB_DT_CS_DEVICE (USB_TYPE_CLASS | USB_DT_DEVICE)
err = usb_get_descriptor(dev, USB_DT_DEVICE, 0,
err = usb_get_descriptor(dev, USB_DT_DEVICE, 0,
err = usb_get_descriptor(dev, USB_DT_DEVICE, 0,
if (dev.bLength != sizeof dev || dev.bDescriptorType != USB_DT_DEVICE)