Home
last modified time | relevance | path

Searched refs:bcdDevice (Results 1 – 25 of 50) sorted by relevance

12

/linux/include/linux/usb/
H A Dcomposite.h534 u16 bcdDevice; member
548 module_param_named(bcdDevice, coverwrite.bcdDevice, ushort, S_IRUGO); \
549 MODULE_PARM_DESC(bcdDevice, "USB Device version (BCD)"); \
567 u16 bcdDevice; in get_default_bcdDevice() local
569 bcdDevice = bin2bcd(LINUX_VERSION_MAJOR) << 8; in get_default_bcdDevice()
570 bcdDevice |= bin2bcd(LINUX_VERSION_PATCHLEVEL); in get_default_bcdDevice()
571 return bcdDevice; in get_default_bcdDevice()
H A Dinput.h19 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
/linux/drivers/usb/misc/
H A Dusblcd.c165 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 Dotg_productlist.h70 (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()
H A Ddevices.c317 u16 bcdDevice = le16_to_cpu(desc->bcdDevice); in usb_dump_device_descriptor() local
334 bcdDevice >> 8, bcdDevice & 0xff); in usb_dump_device_descriptor()
/linux/drivers/usb/storage/
H A Dusb.c362 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 Dusual-tables.c85 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
/linux/tools/usb/usbip/src/
H A Dusbip_network.c85 udev->bcdDevice = usbip_net_pack_uint16_t(pack, udev->bcdDevice); in usbip_net_pack_usb_device()
/linux/tools/usb/usbip/libsrc/
H A Dusbip_common.c123 DBG_UDEV_INTEGER(bcdDevice); in dump_usb_device()
217 READ_ATTR(udev, uint16_t, sdev, bcdDevice, "%04x\n"); in read_usb_device()
H A Dusbip_common.h121 uint16_t bcdDevice; member
H A Dusbip_device_driver.c94 copy_descr_attr16(dev, &descr, bcdDevice); in read_usb_vudc_device()
/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dchip.c51 le16_to_cpu(udev->descriptor.bcdDevice), in plfxlc_chip_init_hw()
/linux/drivers/usb/atm/
H A Dspeedtch.c351 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()
/linux/drivers/usb/serial/
H A Dbelkin_sa.c127 (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()
/linux/drivers/i2c/busses/
H A Di2c-robotfuzz-osif.c166 version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice); in osif_probe()
H A Di2c-tiny-usb.c240 version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice); in i2c_tiny_usb_probe()
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.c124 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/host/
H A Dxhci-dbgcap.h139 u16 bcdDevice; member
/linux/drivers/usb/gadget/legacy/
H A Dserial.c73 .bcdDevice = cpu_to_le16(GS_VERSION_NUM),
/linux/drivers/hid/
H A Dhid-elo.c193 u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice); in elo_broken_firmware()
/linux/Documentation/usb/
H A Dusbip_protocol.rst197 | 0x13C | 2 | | bcdDevice |
286 | 0x138 | 2 | | bcdDevice |
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget28 bcdDevice bcd device release number
H A Dsysfs-bus-pci-drivers-xhci_hcd56 This dbc_bcdDevice attribute lets us change the bcdDevice field
/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c221 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()
/linux/tools/usb/
H A Dtestusb.c76 __u16 bcdDevice; member

12