Home
last modified time | relevance | path

Searched refs:wTotalLength (Results 1 – 27 of 27) sorted by relevance

/linux-4.4.14/include/uapi/linux/usb/
Dvideo.h197 __u16 wTotalLength; member
214 __u16 wTotalLength; \
358 __u16 wTotalLength; member
380 __u16 wTotalLength; \
397 __u16 wTotalLength; member
415 __u16 wTotalLength; \
Dch9.h318 __le16 wTotalLength; member
730 __le16 wTotalLength; member
772 __le16 wTotalLength; member
Dmidi.h42 __le16 wTotalLength; member
Daudio.h159 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
173 __le16 wTotalLength; \
/linux-4.4.14/drivers/usb/host/
Dhwa-hc.c579 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in wa_fill_descr()
653 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwahc_security_create()
656 le16_to_cpu(usb_dev->actconfig->desc.wTotalLength), in hwahc_security_create()
669 needed = le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
678 top = (void *) secd + le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dwebcam.c101 .wTotalLength = 0, /* dynamic */
155 .wTotalLength = 0, /* dynamic */
Dinode.c1294 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf()
1297 len = le16_to_cpu(dev->config->wTotalLength); in config_buf()
1800 total = le16_to_cpu(dev->config->wTotalLength); in dev_config()
1809 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
/linux-4.4.14/sound/usb/
Dquirks.c579 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk()
580 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk()
596 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk()
806 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk()
845 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
Dmidi.c86 __le16 wTotalLength; member
/linux-4.4.14/drivers/usb/gadget/
Dconfig.c107 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
Dcomposite.c442 c->wTotalLength = cpu_to_le16(len); in config_buf()
557 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
564 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
566 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
576 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
578 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
600 return le16_to_cpu(bos->wTotalLength); in bos_desc()
/linux-4.4.14/drivers/usb/core/
Dconfig.c545 config->desc.wTotalLength = cpu_to_le16(buffer2 - buffer0); in usb_parse_configuration()
723 length = max((int) le16_to_cpu(desc->wTotalLength), in usb_get_configuration()
804 total_len = le16_to_cpu(bos->wTotalLength); in usb_get_bos_descriptor()
Dhub.c2266 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg()
5249 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5250 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed()
5267 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
5278 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
Dsysfs.c834 wTotalLength); in read_descriptors()
Ddevio.c232 unsigned int length = le16_to_cpu(config->wTotalLength); in usbdev_read()
239 le16_to_cpu(dev->config[i].desc.wTotalLength); in usbdev_read()
/linux-4.4.14/include/linux/usb/
Daudio-v2.h53 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
/linux-4.4.14/drivers/usb/wusbcore/
Ddevconnect.c790 desc_size = le16_to_cpu(bos->wTotalLength); in wusb_dev_bos_add()
805 || le16_to_cpu(bos->wTotalLength) != desc_size) { in wusb_dev_bos_add()
Dsecurity.c238 secd_size = le16_to_cpu(secd->wTotalLength); in wusb_dev_sec_add()
/linux-4.4.14/drivers/usb/gadget/function/
Df_uvc.c553 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors()
567 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size); in uvc_copy_descriptors()
Df_midi.c120 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)),
793 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
Df_uac1.c61 .wTotalLength = __constant_cpu_to_le16(UAC_DT_TOTAL_LENGTH),
Df_uac2.c723 .wTotalLength = sizeof in_clk_src_desc + sizeof out_clk_src_desc
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-bus-usb125 Note that the wTotalLength of the config descriptors can not
/linux-4.4.14/drivers/usb/misc/
Dusbtest.c693 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */ in is_good_config()
695 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */ in is_good_config()
872 total = le16_to_cpu(bos->wTotalLength); in ch9_postconfig()
1316 len = le16_to_cpu(udev->bos->desc->wTotalLength); in test_ctrl_queue()
/linux-4.4.14/Documentation/usb/
Dproc_usb_info.txt60 are wTotalLength bytes apart. If a device returns less configuration
61 descriptor data than indicated by wTotalLength there will be a hole in
/linux-4.4.14/drivers/uwb/
Dhwa-rc.c768 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version()
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c1989 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),