/drivers/usb/misc/ |
D | usblcd.c | 167 u16 bcdDevice; in lcd_ioctl() local 177 bcdDevice = le16_to_cpu((dev->udev)->descriptor.bcdDevice); in lcd_ioctl() 179 (bcdDevice & 0xF000)>>12, in lcd_ioctl() 180 (bcdDevice & 0xF00)>>8, in lcd_ioctl() 181 (bcdDevice & 0xF0)>>4, in lcd_ioctl() 182 (bcdDevice & 0xF)); in lcd_ioctl() 387 i = le16_to_cpu(dev->udev->descriptor.bcdDevice); in lcd_probe()
|
/drivers/staging/keucr/ |
D | usb.c | 136 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response() local 143 data[32] = 0x30 + ((bcdDevice>>12) & 0x0F); in fill_inquiry_response() 144 data[33] = 0x30 + ((bcdDevice>>8) & 0x0F); in fill_inquiry_response() 145 data[34] = 0x30 + ((bcdDevice>>4) & 0x0F); in fill_inquiry_response() 146 data[35] = 0x30 + ((bcdDevice) & 0x0F); in fill_inquiry_response()
|
/drivers/usb/core/ |
D | otg_whitelist.h | 77 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 81 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
|
D | devices.c | 379 u16 bcdDevice = le16_to_cpu(desc->bcdDevice); in usb_dump_device_descriptor() local 396 bcdDevice >> 8, bcdDevice & 0xff); in usb_dump_device_descriptor()
|
D | driver.c | 574 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in usb_match_device() 578 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in usb_match_device() 809 le16_to_cpu(usb_dev->descriptor.bcdDevice))) in usb_uevent()
|
/drivers/usb/storage/ |
D | usb.c | 282 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response() local 290 data[32] = 0x30 + ((bcdDevice>>12) & 0x0F); in fill_inquiry_response() 291 data[33] = 0x30 + ((bcdDevice>>8) & 0x0F); in fill_inquiry_response() 292 data[34] = 0x30 + ((bcdDevice>>4) & 0x0F); in fill_inquiry_response() 293 data[35] = 0x30 + ((bcdDevice) & 0x0F); in fill_inquiry_response() 437 le16_to_cpu(us->pusb_dev->descriptor.bcdDevice)); in associate_dev() 617 le16_to_cpu(ddesc->bcdDevice), in get_device_info()
|
D | usual-tables.c | 115 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
/drivers/hid/ |
D | hid-lg.c | 347 __u16 bcdDevice, rev_maj, rev_min; in lg_report_fixup() local 373 bcdDevice = le16_to_cpu(udesc->bcdDevice); in lg_report_fixup() 374 rev_maj = bcdDevice >> 8; in lg_report_fixup() 375 rev_min = bcdDevice & 0xff; in lg_report_fixup()
|
D | hid-lg4ff.c | 1083 …dentify_multimode_wheel(struct hid_device *hid, const u16 reported_product_id, const u16 bcdDevice) in lg4ff_identify_multimode_wheel() argument 1106 (bcdDevice & mask) == result) { in lg4ff_identify_multimode_wheel() 1114 …ith bcdDevice %X was not recognized as multimode wheel, leaving in its current mode\n", bcdDevice); in lg4ff_identify_multimode_wheel() 1118 …int lg4ff_handle_multimode_wheel(struct hid_device *hid, u16 *real_product_id, const u16 bcdDevice) in lg4ff_handle_multimode_wheel() argument 1123 *real_product_id = lg4ff_identify_multimode_wheel(hid, reported_product_id, bcdDevice); in lg4ff_handle_multimode_wheel() 1164 const u16 bcdDevice = le16_to_cpu(udesc->bcdDevice); in lg4ff_init() local 1190 mmode_ret = lg4ff_handle_multimode_wheel(hid, &real_product_id, bcdDevice); in lg4ff_init() 1252 if ((bcdDevice >> 8) == LG4FF_FFEX_REV_MAJ && in lg4ff_init() 1253 (bcdDevice & 0xff) == LG4FF_FFEX_REV_MIN) in lg4ff_init()
|
/drivers/usb/gadget/ |
D | configfs.c | 170 GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); 188 u16 bcdDevice; in gadget_dev_desc_bcdDevice_store() local 191 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store() 194 ret = is_valid_bcd(bcdDevice); in gadget_dev_desc_bcdDevice_store() 198 gi->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); in gadget_dev_desc_bcdDevice_store() 281 GI_DEVICE_DESC_ITEM_ATTR(bcdDevice); 943 gi->cdev.desc.bcdDevice = cpu_to_le16(get_default_bcdDevice()); in gadgets_make()
|
D | composite.c | 1551 __le16 bcdDevice; in update_unchanged_dev_desc() local 1562 bcdDevice = new->bcdDevice; in update_unchanged_dev_desc() 1572 if (bcdDevice) in update_unchanged_dev_desc() 1573 new->bcdDevice = bcdDevice; in update_unchanged_dev_desc() 1575 new->bcdDevice = cpu_to_le16(get_default_bcdDevice()); in update_unchanged_dev_desc() 1876 if (covr->bcdDevice) in usb_composite_overwrite_options() 1877 desc->bcdDevice = cpu_to_le16(covr->bcdDevice); in usb_composite_overwrite_options()
|
D | nokia.c | 85 .bcdDevice = cpu_to_le16(NOKIA_VERSION_NUM),
|
D | serial.c | 76 .bcdDevice = cpu_to_le16(GS_VERSION_NUM),
|
D | android.c | 151 .bcdDevice = __constant_cpu_to_le16(0xffff), 1235 cdev->desc.bcdDevice = device_desc.bcdDevice; in enable_store() 1322 DESCRIPTOR_ATTR(bcdDevice, "%04x\n")
|
D | webcam.c | 76 .bcdDevice = cpu_to_le16(WEBCAM_DEVICE_BCD),
|
/drivers/staging/usbip/userspace/libsrc/ |
D | usbip_common.c | 94 DBG_UDEV_INTEGER(bcdDevice); in dump_usb_device() 201 READ_ATTR(udev, uint16_t, sdev, bcdDevice, "%04x\n"); in read_usb_device()
|
D | usbip_common.h | 120 uint16_t bcdDevice; member
|
/drivers/staging/gdm72xx/ |
D | gdm_usb.c | 571 u16 idVendor, idProduct, bcdDevice; in gdm_usb_probe() local 581 bcdDevice = L2H(usbdev->descriptor.bcdDevice); in gdm_usb_probe() 596 ret = usb_boot(usbdev, bcdDevice); in gdm_usb_probe()
|
/drivers/usb/atm/ |
D | speedtch.c | 366 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); in speedtch_find_firmware() local 367 const u8 major_revision = bcdDevice >> 8; in speedtch_find_firmware() 368 const u8 minor_revision = bcdDevice & 0xff; in speedtch_find_firmware()
|
/drivers/usb/serial/ |
D | belkin_sa.c | 132 (le16_to_cpu(dev->descriptor.bcdDevice) <= 0x0206) ? 1 : 0; in belkin_sa_port_probe() 134 le16_to_cpu(dev->descriptor.bcdDevice), in belkin_sa_port_probe()
|
/drivers/staging/ced1401/ |
D | usb1401.c | 1389 int i, bcdDevice; in ced_probe() local 1418 bcdDevice = pdx->udev->descriptor.bcdDevice; in ced_probe() 1419 i = (bcdDevice >> 8); in ced_probe() 1426 __func__, bcdDevice); in ced_probe()
|
/drivers/net/wireless/zd1211rw/ |
D | zd_usb.c | 138 return le16_to_cpu(udev->descriptor.bcdDevice); in get_bcdDevice() 275 u16 bcdDevice; in upload_firmware() local 281 bcdDevice = get_bcdDevice(udev); in upload_firmware() 291 if (fw_bcdDevice != bcdDevice) { in upload_firmware() 294 "%#06x differ\n", fw_bcdDevice, bcdDevice); in upload_firmware() 295 if (bcdDevice <= 0x4313) in upload_firmware()
|
/drivers/staging/usbip/userspace/src/ |
D | usbip_network.c | 63 usbip_net_pack_uint16_t(pack, &udev->bcdDevice); in usbip_net_pack_usb_device()
|
/drivers/i2c/busses/ |
D | i2c-tiny-usb.c | 209 version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice); in i2c_tiny_usb_probe()
|
/drivers/staging/usbip/ |
D | usbip_protocol.txt | 140 0x13C | 2 | | bcdDevice 222 0x138 | 2 | | bcdDevice
|