Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dmidi-v2.h76 __le16 wTotalLength; /* Total number of bytes */ member
H A Daudio-v2.h51 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
H A Daudio-v3.h66 __le16 wTotalLength; member
/linux/drivers/usb/gadget/
H A Dcomposite.c610 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 Dmidi.h43 __le16 wTotalLength; member
H A Daudio.h161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
175 __le16 wTotalLength; \
/linux/sound/usb/
H A Dquirks.c561 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 Dwebcam.c93 .wTotalLength = 0, /* dynamic */
148 .wTotalLength = 0, /* dynamic */
H A Dinode.c1323 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 Dxhci-hub.c56 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 Df_uac1.c1118 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 Df_midi2.c182 .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 Df_uac2.c938 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 Df_midi.c136 .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 Df_uac1_legacy.c58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-usb127 Note that the wTotalLength of the config descriptors can not
/linux/drivers/usb/misc/
H A Dusbtest.c733 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 Dsysfs.c879 wTotalLength); in descriptors_read()
908 desclen = le16_to_cpu(desc->wTotalLength); in bos_descriptors_read()
H A Dhub.c2454 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 Dvhci_hcd.c274 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c2066 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),