| /linux/include/linux/usb/ |
| H A D | midi-v2.h | 76 __le16 wTotalLength; /* Total number of bytes */ member
|
| H A D | audio-v2.h | 51 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
|
| H A D | audio-v3.h | 66 __le16 wTotalLength; member
|
| /linux/drivers/usb/gadget/ |
| H A D | composite.c | 610 c->wTotalLength = cpu_to_le16(len); in config_buf() 735 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc() 766 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 768 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc() 783 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 785 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc() 815 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 818 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac)); in bos_desc() 881 webusb_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 884 le16_add_cpu(&bos->wTotalLength, in bos_desc() [all …]
|
| /linux/include/uapi/linux/usb/ |
| H A D | midi.h | 43 __le16 wTotalLength; member
|
| H A D | audio.h | 161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member 175 __le16 wTotalLength; \
|
| /linux/sound/usb/ |
| H A D | quirks.c | 561 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk() 562 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk() 586 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk() 919 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk() 966 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk() 1274 descriptor_size = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox3_boot_quirk() 1302 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox3_boot_quirk()
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | webcam.c | 93 .wTotalLength = 0, /* dynamic */ 148 .wTotalLength = 0, /* dynamic */
|
| H A D | inode.c | 1323 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf() 1326 len = le16_to_cpu(dev->config->wTotalLength); in config_buf() 1844 total = le16_to_cpu(dev->config->wTotalLength); in dev_config() 1854 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-hub.c | 56 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc() 93 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc() 122 if (wLength < le16_to_cpu(bos->wTotalLength)) in xhci_create_usb3x_bos_desc() 126 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc() 253 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_uac1.c | 1118 ac_header_desc->wTotalLength = cpu_to_le16(ac_header_desc->bLength); in setup_descriptor() 1121 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor() 1127 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor() 1130 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor() 1136 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor()
|
| H A D | f_midi2.c | 182 .wTotalLength = __cpu_to_le16(0x12), // to be filled 224 .wTotalLength = __cpu_to_le16(0x0009), 247 .wTotalLength = __cpu_to_le16(0x41), // to be calculated 310 .wTotalLength = __cpu_to_le16(0x07), 1364 header.wTotalLength = cpu_to_le16(len); in assign_block_descriptors() 1825 midi2_midi1_class_desc.wTotalLength = cpu_to_le16(total); in f_midi2_create_usb_configs()
|
| H A D | f_uac2.c | 938 ac_hdr_desc.wTotalLength = cpu_to_le16(sizeof(ac_hdr_desc)); in setup_descriptor() 941 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 950 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor() 954 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor() 963 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor()
|
| H A D | f_midi.c | 136 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)), 951 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
|
| H A D | f_uac1_legacy.c | 58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-bus-usb | 127 Note that the wTotalLength of the config descriptors can not
|
| /linux/drivers/usb/misc/ |
| H 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/core/ |
| H A D | sysfs.c | 879 wTotalLength); in descriptors_read() 908 desclen = le16_to_cpu(desc->wTotalLength); in bos_descriptors_read()
|
| H A D | hub.c | 2454 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg() 5325 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed() 5326 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed() 5343 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed() 5353 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
|
| /linux/drivers/usb/usbip/ |
| H A D | vhci_hcd.c | 274 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | dummy_hcd.c | 2066 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
|