/drivers/usb/core/ |
H A D | otg_whitelist.h | 54 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && 55 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) 63 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) 67 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) 73 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) 77 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) 81 (id->bDeviceClass != dev->descriptor.bDeviceClass)) 85 (id->bDeviceSubClass != dev->descriptor.bDeviceSubClass)) 89 (id->bDeviceProtocol != dev->descriptor.bDeviceProtocol)) 100 le16_to_cpu(dev->descriptor [all...] |
H A D | hub.h | 60 struct usb_hub_descriptor *descriptor; /* class descriptor */ member in struct:usb_hub 130 hcs = hub->descriptor->wHubCharacteristics; 136 return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS; 141 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2;
|
H A D | generic.c | 55 num_configs = udev->descriptor.bNumConfigurations; 92 * Some hubs have errors in their descriptor, claiming 126 else if (udev->descriptor.bDeviceClass !=
|
H A D | sysfs.c | 188 bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB); 300 if (udev->descriptor.bDeviceClass == USB_CLASS_HUB) 323 if (udev->descriptor.bDeviceClass != USB_CLASS_HUB) 604 le16_to_cpu(udev->descriptor.field)); \ 620 return sprintf(buf, format_string, udev->descriptor.field); \ 774 /* The binary attribute begins with the device descriptor. 775 * Following that are the raw descriptor entries for all the 779 for (cfgno = -1; cfgno < udev->descriptor.bNumConfigurations && 782 src = &udev->descriptor; 806 .size = 18 + 65535, /* dev descr + max-size raw descriptor */ [all...] |
H A D | hub.c | 58 * 10 seconds to send reply for the initial 64-byte descriptor request. 60 /* define initial 64-byte descriptor request timeout in milliseconds */ 64 "initial 64-byte descriptor request timeout in milliseconds " 128 * their USB 2.0 Extended Capabilities BOS descriptor. 187 (hub->descriptor->u.ss.bHubHdrDecLat * 100); 1360 hub->descriptor = kmalloc(sizeof(*hub->descriptor), GFP_KERNEL); 1361 if (!hub->descriptor) { 1366 /* Request the entire hub descriptor. 1367 * hub->descriptor ca 5320 struct usb_device_descriptor descriptor = udev->descriptor; local [all...] |
/drivers/usb/storage/ |
H A D | usual-tables.c | 113 vid = le16_to_cpu(udev->descriptor.idVendor); 114 pid = le16_to_cpu(udev->descriptor.idProduct); 115 bcd = le16_to_cpu(udev->descriptor.bcdDevice);
|
H A D | uas-detect.h | 76 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && 77 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa) {
|
H A D | cypress_atacb.c | 212 /* Sense data is current and format is descriptor. */ 259 * Filter out this revision from EEPROM default descriptor values 262 if (device->descriptor.iManufacturer != 0x38 || 263 device->descriptor.iProduct != 0x4e || 264 device->descriptor.iSerialNumber != 0x64) {
|
/drivers/acpi/acpica/ |
H A D | uttrack.c | 577 union acpi_descriptor *descriptor; local 599 descriptor = 607 descriptor, element->size, 612 if (ACPI_GET_DESCRIPTOR_TYPE(descriptor) != 616 descriptor, element->size, 619 (descriptor)); 621 /* Validate the descriptor type using Type field and length */ 623 descriptor_type = 0; /* Not a valid descriptor type */ 626 (descriptor)) { 664 /* Display additional info for the major descriptor type [all...] |
/drivers/usb/misc/ |
H A D | lvstest.c | 33 /* class descriptor */ 34 struct usb_hub_descriptor descriptor; member in struct:lvs_rh 246 struct usb_device_descriptor *descriptor; local 249 descriptor = kmalloc(sizeof(*descriptor), GFP_KERNEL); 250 if (!descriptor) { 251 dev_err(dev, "failed to allocate descriptor memory\n"); 264 0, descriptor, sizeof(*descriptor), 267 dev_err(dev, "can't read device descriptor 301 struct usb_hub_descriptor *descriptor = &lvs->descriptor; local [all...] |
/drivers/media/usb/go7007/ |
H A D | go7007-loader.c | 56 if (usbdev->descriptor.bNumConfigurations != 1) { 61 vendor = le16_to_cpu(usbdev->descriptor.idVendor); 62 product = le16_to_cpu(usbdev->descriptor.idProduct);
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_image.c | 193 image->descriptor.id = 0; 194 image->descriptor.type = SPICE_IMAGE_TYPE_BITMAP; 196 image->descriptor.flags = 0; 197 image->descriptor.width = width; 198 image->descriptor.height = height;
|
/drivers/media/common/siano/ |
H A D | smsir.c | 85 dev->input_id.vendor = le16_to_cpu(dev->udev->descriptor.idVendor); 86 dev->input_id.product = le16_to_cpu(dev->udev->descriptor.idProduct);
|
/drivers/soc/ti/ |
H A D | Kconfig | 16 Packets are queued/de-queued by writing/reading descriptor address
|
/drivers/input/tablet/ |
H A D | acecad.c | 214 le16_to_cpu(dev->descriptor.idVendor), 215 le16_to_cpu(dev->descriptor.idProduct)); 225 le16_to_cpu(dev->descriptor.idVendor), 226 le16_to_cpu(dev->descriptor.idProduct));
|
/drivers/staging/line6/ |
H A D | toneport.c | 313 u16 idProduct = le16_to_cpu(usbdev->descriptor.idProduct); 323 switch (le16_to_cpu(usbdev->descriptor.idProduct)) { 346 u16 idProduct = le16_to_cpu(usbdev->descriptor.idProduct); 369 switch (le16_to_cpu(usbdev->descriptor.idProduct)) { 443 idProduct = le16_to_cpu(toneport->line6.usbdev->descriptor.idProduct);
|
/drivers/media/rc/ |
H A D | streamzap.c | 301 le16_to_cpu(sz->usbdev->descriptor.idVendor), 302 le16_to_cpu(sz->usbdev->descriptor.idProduct)); 401 if (usbdev->descriptor.iManufacturer 402 && usb_string(usbdev, usbdev->descriptor.iManufacturer, 406 if (usbdev->descriptor.iProduct 407 && usb_string(usbdev, usbdev->descriptor.iProduct,
|
/drivers/media/usb/dvb-usb/ |
H A D | dibusb-common.c | 261 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && 262 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == 300 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && 301 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_LITEON_DVB_T_WARM) { 313 } else if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_DIBCOM && 314 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_DIBCOM_MOD3001_WARM) {
|
H A D | dvb-usb-init.c | 187 if (props->devices[i].cold_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && 188 props->devices[i].cold_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) { 200 if (props->devices[i].warm_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && 201 props->devices[i].warm_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) {
|
H A D | gp8psk.c | 167 int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct); 212 int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct); 248 le16_to_cpu(udev->descriptor.idProduct));
|
/drivers/vme/bridges/ |
H A D | vme_ca91cx42.c | 1042 /* XXX descriptor must be aligned on 64-bit boundaries */ 1051 /* Test descriptor alignment */ 1052 if ((unsigned long)&entry->descriptor & CA91CX42_DCPP_M) { 1054 "required: %p\n", &entry->descriptor); 1059 memset(&entry->descriptor, 0, sizeof(struct ca91cx42_dma_descriptor)); 1062 entry->descriptor.dctl |= CA91CX42_DCTL_L2V; 1099 entry->descriptor.dctl |= CA91CX42_DCTL_VCT_BLT; 1104 entry->descriptor.dctl |= CA91CX42_DCTL_VDW_D8; 1107 entry->descriptor.dctl |= CA91CX42_DCTL_VDW_D16; 1110 entry->descriptor [all...] |
/drivers/isdn/hisax/ |
H A D | st5481_init.c | 66 le16_to_cpu(dev->descriptor.idVendor), 67 le16_to_cpu(dev->descriptor.idProduct),
|
/drivers/thunderbolt/ |
H A D | nhi.c | 136 struct ring_desc *descriptor; local 141 descriptor = &ring->descriptors[ring->head]; 142 descriptor->phys = frame->buffer_phy; 143 descriptor->time = 0; 144 descriptor->flags = RING_DESC_POSTED | RING_DESC_INTERRUPT; 146 descriptor->length = frame->size; 147 descriptor->eof = frame->eof; 148 descriptor->sof = frame->sof;
|
/drivers/staging/media/lirc/ |
H A D | lirc_igorplugusb.c | 434 if (dev->descriptor.iManufacturer 435 && usb_string(dev, dev->descriptor.iManufacturer, 438 if (dev->descriptor.iProduct 439 && usb_string(dev, dev->descriptor.iProduct, buf, sizeof(buf)) > 0)
|
/drivers/hid/ |
H A D | hid-elo.c | 179 * Not all Elo devices need the periodic HID descriptor reads. 186 u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice); 197 child_vid = le16_to_cpu(child->descriptor.idVendor); 198 child_pid = le16_to_cpu(child->descriptor.idProduct);
|