Searched refs:wTotalLength (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/include/linux/usb/
H A Dmidi-v2.h76 __le16 wTotalLength; /* Total number of bytes */ member in struct:usb_ms20_gr_trm_block_header_descriptor
H A Daudio-v3.h66 __le16 wTotalLength; member in struct:uac3_ac_header_descriptor
H A Daudio-v2.h51 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member in struct:uac2_ac_header_descriptor
/linux-master/include/uapi/linux/usb/
H A Dvideo.h229 __le16 wTotalLength; member in struct:uvc_header_descriptor
246 __le16 wTotalLength; \
391 __le16 wTotalLength; member in struct:uvc_input_header_descriptor
413 __le16 wTotalLength; \
430 __le16 wTotalLength; member in struct:uvc_output_header_descriptor
448 __le16 wTotalLength; \
H A Dmidi.h43 __le16 wTotalLength; member in struct:usb_ms_header_descriptor
H A Dch9.h350 __le16 wTotalLength; member in struct:usb_config_descriptor
808 __le16 wTotalLength; member in struct:usb_security_descriptor
850 __le16 wTotalLength; member in struct:usb_bos_descriptor
H A Daudio.h161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member in struct:uac1_ac_header_descriptor
175 __le16 wTotalLength; \
/linux-master/drivers/usb/gadget/legacy/
H A Dwebcam.c93 .wTotalLength = 0, /* dynamic */
148 .wTotalLength = 0, /* dynamic */
H A Dinode.c1325 len = le16_to_cpu(dev->hs_config->wTotalLength);
1328 len = le16_to_cpu(dev->config->wTotalLength);
1782 * . full/low speed config ... all wTotalLength bytes (with interface,
1854 total = le16_to_cpu(dev->config->wTotalLength);
1864 total = le16_to_cpu(dev->hs_config->wTotalLength);
/linux-master/drivers/usb/gadget/
H A Dcomposite.c577 /* wTotalLength is written later */
610 c->wTotalLength = cpu_to_le16(len);
735 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE);
766 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength);
768 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE);
783 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength);
785 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE);
815 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength);
818 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac));
881 webusb_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength);
[all...]
H A Dconfig.c68 * status code. The config.wTotalLength field is set to match the length
103 cp->wTotalLength = cpu_to_le16(len);
/linux-master/drivers/usb/core/
H A Dconfig.c740 config->desc.wTotalLength = cpu_to_le16(buffer2 - buffer0);
915 length = max((int) le16_to_cpu(desc->wTotalLength),
1004 total_len = le16_to_cpu(bos->wTotalLength);
1085 dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0);
H A Dsysfs.c878 wTotalLength);
907 desclen = le16_to_cpu(desc->wTotalLength);
H A Dhub.c2411 le16_to_cpu(udev->config[0].desc.wTotalLength),
5280 len = le16_to_cpu(udev->bos->desc->wTotalLength);
5281 if (len != le16_to_cpu(old_bos->desc->wTotalLength))
5298 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength);
5308 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength);
/linux-master/sound/usb/
H A Dquirks.c560 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD ||
561 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) {
577 le16_to_cpu(get_cfg_desc(config)->wTotalLength));
909 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength);
948 le16_to_cpu(get_cfg_desc(config)->wTotalLength));
1259 descriptor_size = le16_to_cpu(get_cfg_desc(config)->wTotalLength);
1278 le16_to_cpu(get_cfg_desc(config)->wTotalLength));
/linux-master/drivers/usb/gadget/function/
H A Df_uac1.c1090 /* wTotalLength and baInterfaceNr will be defined later */
1132 ac_header_desc->wTotalLength = cpu_to_le16(ac_header_desc->bLength);
1135 u16 len = le16_to_cpu(ac_header_desc->wTotalLength);
1141 ac_header_desc->wTotalLength = cpu_to_le16(len);
1144 u16 len = le16_to_cpu(ac_header_desc->wTotalLength);
1150 ac_header_desc->wTotalLength = cpu_to_le16(len);
H A Df_midi2.c179 .wTotalLength = __cpu_to_le16(0x12), // to be filled
221 .wTotalLength = __cpu_to_le16(0x0009),
244 .wTotalLength = __cpu_to_le16(0x41), // to be calculated
307 .wTotalLength = __cpu_to_le16(0x07),
1354 header.wTotalLength = cpu_to_le16(len);
1804 midi2_midi1_class_desc.wTotalLength = cpu_to_le16(total);
H A Df_uvc.c617 uvc_control_header->wTotalLength = cpu_to_le16(control_size);
635 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size);
H A Df_uac2.c260 /* .wTotalLength = DYNAMIC */
951 ac_hdr_desc.wTotalLength = cpu_to_le16(sizeof(ac_hdr_desc));
954 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength);
963 ac_hdr_desc.wTotalLength = cpu_to_le16(len);
967 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength);
976 ac_hdr_desc.wTotalLength = cpu_to_le16(len);
H A Df_midi.c135 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)),
157 /* .wTotalLength = DYNAMIC */
937 /* calculate the header's wTotalLength */
941 ms_header_desc.wTotalLength = cpu_to_le16(n);
H A Df_uac1_legacy.c58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
/linux-master/drivers/usb/host/
H A Dxhci-hub.c55 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE +
92 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE +
121 if (wLength < le16_to_cpu(bos->wTotalLength))
125 return le16_to_cpu(bos->wTotalLength);
252 return le16_to_cpu(bos->wTotalLength);
/linux-master/drivers/usb/misc/
H A Dusbtest.c733 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */
735 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */
912 total = le16_to_cpu(bos->wTotalLength);
1357 len = le16_to_cpu(udev->bos->desc->wTotalLength);
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c100 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
/linux-master/drivers/usb/usbip/
H A Dvhci_hcd.c273 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),

Completed in 500 milliseconds

12