| /Linux-v5.10/include/uapi/linux/usb/ |
| D | video.h | 199 __le16 wTotalLength; member 216 __le16 wTotalLength; \ 360 __le16 wTotalLength; member 382 __le16 wTotalLength; \ 399 __le16 wTotalLength; member 417 __le16 wTotalLength; \
|
| D | midi.h | 43 __le16 wTotalLength; member
|
| D | ch9.h | 353 __le16 wTotalLength; member 806 __le16 wTotalLength; member 848 __le16 wTotalLength; member
|
| D | audio.h | 161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member 175 __le16 wTotalLength; \
|
| /Linux-v5.10/drivers/usb/gadget/legacy/ |
| D | webcam.c | 94 .wTotalLength = 0, /* dynamic */ 148 .wTotalLength = 0, /* dynamic */
|
| 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() 1824 total = le16_to_cpu(dev->config->wTotalLength); in dev_config() 1834 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
|
| /Linux-v5.10/drivers/usb/gadget/ |
| D | composite.c | 541 c->wTotalLength = cpu_to_le16(len); in config_buf() 666 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc() 696 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 698 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc() 712 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 714 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc() 732 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 739 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(1)); in bos_desc() 774 return le16_to_cpu(bos->wTotalLength); in bos_desc()
|
| D | config.c | 103 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
|
| /Linux-v5.10/drivers/usb/gadget/function/ |
| D | f_uac2.c | 501 ac_hdr_desc.wTotalLength = cpu_to_le16(sizeof(ac_hdr_desc)); in setup_descriptor() 504 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 509 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor() 513 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 518 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor()
|
| D | f_uvc.c | 561 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors() 575 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size); in uvc_copy_descriptors()
|
| D | f_midi.c | 135 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)), 939 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
|
| D | f_uac1.c | 76 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
|
| D | f_uac1_legacy.c | 58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
|
| /Linux-v5.10/sound/usb/ |
| D | quirks.c | 592 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk() 593 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk() 609 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk() 941 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk() 980 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
|
| /Linux-v5.10/drivers/usb/core/ |
| 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() 1086 dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0); in usb_get_bos_descriptor()
|
| D | hub.c | 2321 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg() 4992 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed() 4993 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed() 5010 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed() 5020 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
|
| D | sysfs.c | 909 wTotalLength); in read_descriptors()
|
| D | devio.c | 336 unsigned int length = le16_to_cpu(config->wTotalLength); in usbdev_read() 343 le16_to_cpu(dev->config[i].desc.wTotalLength); in usbdev_read()
|
| /Linux-v5.10/include/linux/usb/ |
| D | audio-v2.h | 54 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
|
| D | audio-v3.h | 66 __le16 wTotalLength; member
|
| /Linux-v5.10/Documentation/ABI/stable/ |
| D | sysfs-bus-usb | 127 Note that the wTotalLength of the config descriptors can not
|
| /Linux-v5.10/drivers/usb/misc/ |
| 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-v5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
| D | hub.c | 94 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
|
| /Linux-v5.10/drivers/usb/usbip/ |
| D | vhci_hcd.c | 273 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
|
| /Linux-v5.10/Documentation/driver-api/usb/ |
| D | usb.rst | 292 are wTotalLength bytes apart. If a device returns less configuration 293 descriptor data than indicated by wTotalLength there will be a hole in
|