| /drivers/usb/misc/ |
| A D | usblcd.c | 165 u16 bcdDevice; in lcd_ioctl() local 174 bcdDevice = le16_to_cpu((dev->udev)->descriptor.bcdDevice); in lcd_ioctl() 176 (bcdDevice & 0xF000)>>12, in lcd_ioctl() 177 (bcdDevice & 0xF00)>>8, in lcd_ioctl() 178 (bcdDevice & 0xF0)>>4, in lcd_ioctl() 179 (bcdDevice & 0xF)); in lcd_ioctl() 376 i = le16_to_cpu(dev->udev->descriptor.bcdDevice); in lcd_probe()
|
| /drivers/usb/core/ |
| A D | otg_productlist.h | 70 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 74 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
|
| A D | devices.c | 317 u16 bcdDevice = le16_to_cpu(desc->bcdDevice); in usb_dump_device_descriptor() local 334 bcdDevice >> 8, bcdDevice & 0xff); in usb_dump_device_descriptor()
|
| /drivers/usb/storage/ |
| A D | usb.c | 362 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response() local 370 data[32] = 0x30 + ((bcdDevice>>12) & 0x0F); in fill_inquiry_response() 371 data[33] = 0x30 + ((bcdDevice>>8) & 0x0F); in fill_inquiry_response() 372 data[34] = 0x30 + ((bcdDevice>>4) & 0x0F); in fill_inquiry_response() 373 data[35] = 0x30 + ((bcdDevice) & 0x0F); in fill_inquiry_response() 531 le16_to_cpu(us->pusb_dev->descriptor.bcdDevice)); in associate_dev() 737 le16_to_cpu(ddesc->bcdDevice), in get_device_info()
|
| A D | usual-tables.c | 85 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
| /drivers/hid/ |
| A D | hid-lg4ff.c | 1186 …dentify_multimode_wheel(struct hid_device *hid, const u16 reported_product_id, const u16 bcdDevice) in lg4ff_identify_multimode_wheel() argument 1209 (bcdDevice & mask) == result) { in lg4ff_identify_multimode_wheel() 1217 …ith bcdDevice %X was not recognized as multimode wheel, leaving in its current mode\n", bcdDevice); in lg4ff_identify_multimode_wheel() 1221 …int lg4ff_handle_multimode_wheel(struct hid_device *hid, u16 *real_product_id, const u16 bcdDevice) in lg4ff_handle_multimode_wheel() argument 1226 *real_product_id = lg4ff_identify_multimode_wheel(hid, reported_product_id, bcdDevice); in lg4ff_handle_multimode_wheel() 1267 const u16 bcdDevice = le16_to_cpu(udesc->bcdDevice); in lg4ff_init() local 1300 mmode_ret = lg4ff_handle_multimode_wheel(hid, &real_product_id, bcdDevice); in lg4ff_init() 1363 if ((bcdDevice >> 8) == LG4FF_FFEX_REV_MAJ && in lg4ff_init() 1364 (bcdDevice & 0xff) == LG4FF_FFEX_REV_MIN) in lg4ff_init()
|
| A D | hid-elo.c | 193 u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice); in elo_broken_firmware()
|
| /drivers/usb/gadget/ |
| A D | composite.c | 2372 __le16 bcdDevice; in update_unchanged_dev_desc() local 2383 bcdDevice = new->bcdDevice; in update_unchanged_dev_desc() 2393 if (bcdDevice) in update_unchanged_dev_desc() 2394 new->bcdDevice = bcdDevice; in update_unchanged_dev_desc() 2396 new->bcdDevice = cpu_to_le16(get_default_bcdDevice()); in update_unchanged_dev_desc() 2776 if (covr->bcdDevice) in usb_composite_overwrite_options() 2777 desc->bcdDevice = cpu_to_le16(covr->bcdDevice); in usb_composite_overwrite_options()
|
| A D | configfs.c | 193 GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); 211 u16 bcdDevice; in gadget_dev_desc_bcdDevice_store() local 214 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store() 217 ret = is_valid_bcd(bcdDevice); in gadget_dev_desc_bcdDevice_store() 221 to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); in gadget_dev_desc_bcdDevice_store() 361 CONFIGFS_ATTR(gadget_dev_desc_, bcdDevice); 2033 gi->cdev.desc.bcdDevice = cpu_to_le16(get_default_bcdDevice()); in gadgets_make()
|
| /drivers/usb/atm/ |
| A D | speedtch.c | 351 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); in speedtch_find_firmware() local 352 const u8 major_revision = bcdDevice >> 8; in speedtch_find_firmware() 353 const u8 minor_revision = bcdDevice & 0xff; in speedtch_find_firmware()
|
| /drivers/usb/serial/ |
| A D | pl2303.c | 407 u16 bcdDevice, bcdUSB; in pl2303_detect_type() local 422 bcdDevice = le16_to_cpu(desc->bcdDevice); in pl2303_detect_type() 430 switch (bcdDevice) { in pl2303_detect_type() 440 switch (bcdDevice) { in pl2303_detect_type()
|
| A D | belkin_sa.c | 127 (le16_to_cpu(dev->descriptor.bcdDevice) <= 0x0206) ? 1 : 0; in belkin_sa_port_probe() 129 le16_to_cpu(dev->descriptor.bcdDevice), in belkin_sa_port_probe()
|
| /drivers/net/wireless/purelifi/plfxlc/ |
| A D | chip.c | 51 le16_to_cpu(udev->descriptor.bcdDevice), in plfxlc_chip_init_hw()
|
| /drivers/net/wireless/zydas/zd1211rw/ |
| A D | zd_usb.c | 124 return le16_to_cpu(udev->descriptor.bcdDevice); in get_bcdDevice() 261 u16 bcdDevice; in upload_firmware() local 267 bcdDevice = get_bcdDevice(udev); in upload_firmware() 277 if (fw_bcdDevice != bcdDevice) { in upload_firmware() 280 "%#06x differ\n", fw_bcdDevice, bcdDevice); in upload_firmware() 281 if (bcdDevice <= 0x4313) in upload_firmware()
|
| /drivers/i2c/busses/ |
| A D | i2c-robotfuzz-osif.c | 172 version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice); in osif_probe()
|
| A D | i2c-tiny-usb.c | 246 version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice); in i2c_tiny_usb_probe()
|
| /drivers/usb/gadget/legacy/ |
| A D | serial.c | 73 .bcdDevice = cpu_to_le16(GS_VERSION_NUM),
|
| A D | nokia.c | 92 .bcdDevice = cpu_to_le16(NOKIA_VERSION_NUM),
|
| /drivers/usb/host/ |
| A D | xhci-dbgcap.h | 140 u16 bcdDevice; member
|
| A D | xhci-dbgcap.c | 145 dev_info = (dbc->bcdDevice << 16) | dbc->idProduct; in xhci_dbc_init_contexts() 1125 return sysfs_emit(buf, "%04x\n", dbc->bcdDevice); in dbc_bcdDevice_show() 1148 dbc->bcdDevice = value; in dbc_bcdDevice_store() 1273 dbc->bcdDevice = DBC_DEVICE_REV; in xhci_alloc_dbc()
|
| /drivers/net/wireless/marvell/libertas_tf/ |
| A D | if_usb.c | 221 cardp->boot2_version = udev->descriptor.bcdDevice; in if_usb_probe() 498 if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) { in if_usb_receive_fwload()
|
| /drivers/net/usb/ |
| A D | kaweth.c | 893 le16_to_cpu(udev->descriptor.bcdDevice)); in kaweth_probe() 922 if (le16_to_cpu(udev->descriptor.bcdDevice) >> 8) { in kaweth_probe()
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | if_usb.c | 277 cardp->boot2_version = udev->descriptor.bcdDevice; in if_usb_probe() 525 if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) { in if_usb_receive_fwload()
|
| /drivers/usb/gadget/udc/aspeed-vhub/ |
| A D | hub.c | 64 .bcdDevice = cpu_to_le16(0x0100), 921 vhub->vhub_dev_desc.bcdDevice = cpu_to_le16(id); in ast_vhub_of_parse_dev_desc()
|
| /drivers/bluetooth/ |
| A D | btusb.c | 2397 u16 bcdDevice = le16_to_cpu(data->udev->descriptor.bcdDevice); in btusb_setup_csr() local 2475 else if (bcdDevice == 0x0134 && in btusb_setup_csr() 3956 if (le16_to_cpu(udev->descriptor.bcdDevice) <= 0x0001 && in btusb_probe() 4245 u16 bcdDevice = le16_to_cpu(udev->descriptor.bcdDevice); in btusb_probe() local 4248 if (bcdDevice < 0x117) in btusb_probe() 4264 if (le16_to_cpu(udev->descriptor.bcdDevice) > 0x997) in btusb_probe()
|