| /linux/include/linux/usb/ |
| H A D | composite.h | 531 u16 bcdDevice; member 545 module_param_named(bcdDevice, coverwrite.bcdDevice, ushort, S_IRUGO); \ 546 MODULE_PARM_DESC(bcdDevice, "USB Device version (BCD)"); \ 564 u16 bcdDevice; in get_default_bcdDevice() local 566 bcdDevice = bin2bcd(LINUX_VERSION_MAJOR) << 8; in get_default_bcdDevice() 567 bcdDevice |= bin2bcd(LINUX_VERSION_PATCHLEVEL); in get_default_bcdDevice() 568 return bcdDevice; in get_default_bcdDevice()
|
| H A D | input.h | 19 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
|
| /linux/drivers/usb/misc/ |
| H 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()
|
| /linux/drivers/usb/core/ |
| H 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()
|
| /linux/drivers/usb/storage/ |
| H 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()
|
| H A D | usual-tables.c | 85 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
| /linux/tools/usb/usbip/src/ |
| H A D | usbip_network.c | 85 udev->bcdDevice = usbip_net_pack_uint16_t(pack, udev->bcdDevice); in usbip_net_pack_usb_device()
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | usbip_common.c | 125 DBG_UDEV_INTEGER(bcdDevice); in dump_usb_device() 219 READ_ATTR(udev, uint16_t, sdev, bcdDevice, "%04x\n"); in read_usb_device()
|
| H A D | usbip_common.h | 121 uint16_t bcdDevice; member
|
| H A D | usbip_device_driver.c | 98 copy_descr_attr16(dev, &descr, bcdDevice); in read_usb_vudc_device()
|
| /linux/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | chip.c | 51 le16_to_cpu(udev->descriptor.bcdDevice), in plfxlc_chip_init_hw()
|
| /linux/drivers/usb/gadget/ |
| H A D | composite.c | 2376 __le16 bcdDevice; in update_unchanged_dev_desc() local 2387 bcdDevice = new->bcdDevice; in update_unchanged_dev_desc() 2397 if (bcdDevice) in update_unchanged_dev_desc() 2398 new->bcdDevice = bcdDevice; in update_unchanged_dev_desc() 2400 new->bcdDevice = cpu_to_le16(get_default_bcdDevice()); in update_unchanged_dev_desc() 2780 if (covr->bcdDevice) in usb_composite_overwrite_options() 2781 desc->bcdDevice = cpu_to_le16(covr->bcdDevice); in usb_composite_overwrite_options() [all...] |
| /linux/drivers/usb/atm/ |
| H A D | speedtch.c | 353 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); in speedtch_find_firmware() 354 const u8 major_revision = bcdDevice >> 8; in speedtch_find_firmware() 355 const u8 minor_revision = bcdDevice & 0xff; in speedtch_find_firmware() 352 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); speedtch_find_firmware() local
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H 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()
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | serial.c | 73 .bcdDevice = cpu_to_le16(GS_VERSION_NUM),
|
| /linux/drivers/usb/host/ |
| H A D | xhci-dbgcap.h | 162 u16 bcdDevice; member
|
| H A D | xhci-dbgcap.c | 169 dev_info = (dbc->bcdDevice << 16) | dbc->idProduct; in xhci_dbc_init_contexts() 1276 return sysfs_emit(buf, "%04x\n", dbc->bcdDevice); in dbc_bcdDevice_show() 1299 dbc->bcdDevice = value; in dbc_bcdDevice_store() 1532 dbc->bcdDevice = DBC_DEVICE_REV; in xhci_alloc_dbc()
|
| /linux/drivers/hid/ |
| H A D | hid-elo.c | 196 u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice); in elo_broken_firmware()
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget | 28 bcdDevice bcd device release number
|
| /linux/tools/usb/ |
| H A D | testusb.c | 76 __u16 bcdDevice; member
|
| /linux/drivers/net/usb/ |
| H A D | kaweth.c | 898 le16_to_cpu(udev->descriptor.bcdDevice)); in kaweth_probe() 933 if (le16_to_cpu(udev->descriptor.bcdDevice) >> 8) { in kaweth_probe()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | if_usb.c | 279 cardp->boot2_version = udev->descriptor.bcdDevice; in if_usb_probe() 536 if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) { in if_usb_receive_fwload()
|
| /linux/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | hub.c | 64 .bcdDevice = cpu_to_le16(0x0100), 923 vhub->vhub_dev_desc.bcdDevice = cpu_to_le16(id); in ast_vhub_of_parse_dev_desc()
|
| /linux/Documentation/usb/ |
| H A D | mass-storage.rst | 150 - bcdDevice -- USB Device version (BCD) (16 bit integer) 238 “bcdDevice”.
|
| /linux/drivers/bluetooth/ |
| H A D | btusb.c | |