/openbmc/linux/include/linux/usb/ |
H A D | composite.h | 526 u16 bcdDevice; member 540 module_param_named(bcdDevice, coverwrite.bcdDevice, ushort, S_IRUGO); \ 541 MODULE_PARM_DESC(bcdDevice, "USB Device version (BCD)"); \ 559 u16 bcdDevice; in get_default_bcdDevice() local 561 bcdDevice = bin2bcd(LINUX_VERSION_MAJOR) << 8; in get_default_bcdDevice() 562 bcdDevice |= bin2bcd(LINUX_VERSION_PATCHLEVEL); in get_default_bcdDevice() 563 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()
|
/openbmc/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()
|
/openbmc/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()
|
H 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()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | usb.c | 280 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response() local 288 data[32] = 0x30 + ((bcdDevice>>12) & 0x0F); in fill_inquiry_response() 289 data[33] = 0x30 + ((bcdDevice>>8) & 0x0F); in fill_inquiry_response() 290 data[34] = 0x30 + ((bcdDevice>>4) & 0x0F); in fill_inquiry_response() 291 data[35] = 0x30 + ((bcdDevice) & 0x0F); in fill_inquiry_response() 449 le16_to_cpu(us->pusb_dev->descriptor.bcdDevice)); in associate_dev() 655 le16_to_cpu(ddesc->bcdDevice), in get_device_info()
|
H A D | usual-tables.c | 100 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
/openbmc/qemu/hw/usb/ |
H A D | dev-hid.c | 373 .bcdDevice = 0, 387 .bcdDevice = 0, 402 .bcdDevice = 0, 416 .bcdDevice = 0, 431 .bcdDevice = 0, 445 .bcdDevice = 0,
|
/openbmc/linux/drivers/hid/ |
H 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() 1362 if ((bcdDevice >> 8) == LG4FF_FFEX_REV_MAJ && in lg4ff_init() 1363 (bcdDevice & 0xff) == LG4FF_FFEX_REV_MIN) in lg4ff_init()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | g_dnl.c | 258 device_desc.bcdDevice = cpu_to_le16(gcnum); in g_dnl_bind() 262 device_desc.bcdDevice = __constant_cpu_to_le16(0x9999); in g_dnl_bind()
|
/openbmc/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()
|
/openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/recipes-graphics/obmc-ikvm/ |
H A D | create_usbhid.sh | 12 echo 0x0100 > bcdDevice
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_common.c | 123 DBG_UDEV_INTEGER(bcdDevice); in dump_usb_device() 217 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 | 94 copy_descr_attr16(dev, &descr, bcdDevice); in read_usb_vudc_device()
|
/openbmc/obmc-ikvm/ |
H A D | create_usbhid.sh | 12 echo 0x0100 > bcdDevice
|
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/ |
H A D | chip.c | 51 le16_to_cpu(udev->descriptor.bcdDevice), in plfxlc_chip_init_hw()
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | composite.c | 2397 __le16 bcdDevice; in update_unchanged_dev_desc() local 2408 bcdDevice = new->bcdDevice; in update_unchanged_dev_desc() 2418 if (bcdDevice) in update_unchanged_dev_desc() 2419 new->bcdDevice = bcdDevice; in update_unchanged_dev_desc() 2421 new->bcdDevice = cpu_to_le16(get_default_bcdDevice()); in update_unchanged_dev_desc() 2790 if (covr->bcdDevice) in usb_composite_overwrite_options() 2791 desc->bcdDevice = cpu_to_le16(covr->bcdDevice); in usb_composite_overwrite_options()
|
H 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); 2022 gi->cdev.desc.bcdDevice = cpu_to_le16(get_default_bcdDevice()); in gadgets_make()
|
/openbmc/linux/drivers/usb/serial/ |
H A D | pl2303.c | 406 u16 bcdDevice, bcdUSB; in pl2303_detect_type() local 421 bcdDevice = le16_to_cpu(desc->bcdDevice); in pl2303_detect_type() 429 switch (bcdDevice) { in pl2303_detect_type() 439 switch (bcdDevice) { in pl2303_detect_type()
|
H A D | belkin_sa.c | 128 (le16_to_cpu(dev->descriptor.bcdDevice) <= 0x0206) ? 1 : 0; in belkin_sa_port_probe() 130 le16_to_cpu(dev->descriptor.bcdDevice), in belkin_sa_port_probe()
|
/openbmc/linux/drivers/usb/atm/ |
H 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()
|
/openbmc/u-boot/include/ |
H A D | usbdescriptors.h | 223 u16 bcdDevice; member 521 serial_printf("\tbcdDevice %4.4x\n", d->bcdDevice); in print_device_descriptor()
|
/openbmc/u-boot/cmd/ |
H A D | usb.c | 181 (dev->descriptor.bcdDevice>>8) & 0xff, in usb_display_desc() 182 dev->descriptor.bcdDevice & 0xff); in usb_display_desc()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-robotfuzz-osif.c | 166 version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice); in osif_probe()
|