Home
last modified time | relevance | path

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

/linux-4.1.27/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
718 __le16 wTotalLength; member
760 __le16 wTotalLength; member
Dmidi.h42 __le16 wTotalLength; member
Daudio.h159 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
173 __le16 wTotalLength; \
/linux-4.1.27/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.1.27/drivers/usb/gadget/legacy/
Dwebcam.c101 .wTotalLength = 0, /* dynamic */
155 .wTotalLength = 0, /* dynamic */
Dinode.c1291 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf()
1294 len = le16_to_cpu(dev->config->wTotalLength); in config_buf()
1797 total = le16_to_cpu(dev->config->wTotalLength); in dev_config()
1806 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
/linux-4.1.27/sound/usb/
Dquirks.c572 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk()
573 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk()
589 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk()
799 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk()
838 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
Dmidi.c86 __le16 wTotalLength; member
/linux-4.1.27/drivers/usb/gadget/
Dconfig.c106 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
Dcomposite.c435 c->wTotalLength = cpu_to_le16(len); in config_buf()
550 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
557 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
559 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
569 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
571 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
593 return le16_to_cpu(bos->wTotalLength); in bos_desc()
/linux-4.1.27/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.c2265 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg()
5209 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5210 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed()
5227 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
5238 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
Dsysfs.c782 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.1.27/include/linux/usb/
Daudio-v2.h53 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
/linux-4.1.27/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.1.27/drivers/usb/gadget/function/
Df_uvc.c570 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors()
584 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)),
786 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.1.27/Documentation/ABI/stable/
Dsysfs-bus-usb125 Note that the wTotalLength of the config descriptors can not
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c680 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */ in is_good_config()
682 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */ in is_good_config()
859 total = le16_to_cpu(bos->wTotalLength); in ch9_postconfig()
1303 len = le16_to_cpu(udev->bos->desc->wTotalLength); in test_ctrl_queue()
/linux-4.1.27/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.1.27/drivers/uwb/
Dhwa-rc.c768 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version()
/linux-4.1.27/drivers/usb/gadget/udc/
Ddummy_hcd.c1910 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),