/linux/include/uapi/linux/usb/ |
A D | video.h | 199 __le16 wTotalLength; member 216 __le16 wTotalLength; \ 361 __le16 wTotalLength; member 383 __le16 wTotalLength; \ 400 __le16 wTotalLength; member 418 __le16 wTotalLength; \
|
A D | ch9.h | 353 __le16 wTotalLength; member 806 __le16 wTotalLength; member 848 __le16 wTotalLength; member
|
A D | midi.h | 43 __le16 wTotalLength; member
|
A D | audio.h | 161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member 175 __le16 wTotalLength; \
|
/linux/drivers/usb/gadget/legacy/ |
A D | webcam.c | 94 .wTotalLength = 0, /* dynamic */ 149 .wTotalLength = 0, /* dynamic */
|
A D | inode.c | 1317 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf() 1320 len = le16_to_cpu(dev->config->wTotalLength); in config_buf() 1836 total = le16_to_cpu(dev->config->wTotalLength); in dev_config() 1846 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
|
/linux/drivers/usb/gadget/ |
A D | composite.c | 548 c->wTotalLength = cpu_to_le16(len); in config_buf() 673 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc() 703 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 705 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc() 719 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 721 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc() 751 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 754 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac)); in bos_desc() 811 return le16_to_cpu(bos->wTotalLength); in bos_desc()
|
A D | config.c | 103 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
|
/linux/drivers/usb/core/ |
A D | config.c | 740 config->desc.wTotalLength = cpu_to_le16(buffer2 - buffer0); in usb_parse_configuration() 915 length = max((int) le16_to_cpu(desc->wTotalLength), in usb_get_configuration() 1004 total_len = le16_to_cpu(bos->wTotalLength); in usb_get_bos_descriptor() 1087 dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0); in usb_get_bos_descriptor()
|
A D | hub.c | 2329 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg() 5115 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed() 5116 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed() 5133 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed() 5143 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
|
A D | sysfs.c | 888 wTotalLength); in read_descriptors()
|
A D | devio.c | 337 unsigned int length = le16_to_cpu(config->wTotalLength); in usbdev_read() 344 le16_to_cpu(dev->config[i].desc.wTotalLength); in usbdev_read()
|
/linux/sound/usb/ |
A D | quirks.c | 596 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk() 597 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk() 613 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk() 945 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk() 984 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
|
/linux/drivers/usb/gadget/function/ |
A D | f_uac1.c | 997 ac_header_desc->wTotalLength = cpu_to_le16(ac_header_desc->bLength); in setup_descriptor() 1000 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor() 1006 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor() 1009 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor() 1015 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor()
|
A D | f_uac2.c | 862 ac_hdr_desc.wTotalLength = cpu_to_le16(sizeof(ac_hdr_desc)); in setup_descriptor() 865 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 874 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor() 878 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 887 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor()
|
A D | f_uvc.c | 563 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors() 577 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size); in uvc_copy_descriptors()
|
A D | f_midi.c | 135 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)), 941 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
|
A D | f_uac1_legacy.c | 58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
|
/linux/drivers/usb/host/ |
A D | xhci-hub.c | 55 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc() 92 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc() 121 if (wLength < le16_to_cpu(bos->wTotalLength)) in xhci_create_usb3x_bos_desc() 125 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc() 252 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc()
|
/linux/include/linux/usb/ |
A D | audio-v2.h | 54 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
|
A D | audio-v3.h | 66 __le16 wTotalLength; member
|
/linux/Documentation/ABI/stable/ |
A D | sysfs-bus-usb | 127 Note that the wTotalLength of the config descriptors can not
|
/linux/drivers/usb/misc/ |
A D | usbtest.c | 733 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */ in is_good_config() 735 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */ in is_good_config() 912 total = le16_to_cpu(bos->wTotalLength); in ch9_postconfig() 1357 len = le16_to_cpu(udev->bos->desc->wTotalLength); in test_ctrl_queue()
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | hub.c | 89 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
|
/linux/drivers/usb/usbip/ |
A D | vhci_hcd.c | 273 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
|