/linux-master/include/linux/usb/ |
H A D | midi-v2.h | 76 __le16 wTotalLength; /* Total number of bytes */ member in struct:usb_ms20_gr_trm_block_header_descriptor
|
H A D | audio-v3.h | 66 __le16 wTotalLength; member in struct:uac3_ac_header_descriptor
|
H A D | audio-v2.h | 51 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member in struct:uac2_ac_header_descriptor
|
/linux-master/include/uapi/linux/usb/ |
H A D | video.h | 229 __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 D | midi.h | 43 __le16 wTotalLength; member in struct:usb_ms_header_descriptor
|
H A D | ch9.h | 350 __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 D | audio.h | 161 __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 D | webcam.c | 93 .wTotalLength = 0, /* dynamic */ 148 .wTotalLength = 0, /* dynamic */
|
H A D | inode.c | 1325 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 D | composite.c | 577 /* 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 D | config.c | 68 * 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 D | config.c | 740 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 D | sysfs.c | 878 wTotalLength); 907 desclen = le16_to_cpu(desc->wTotalLength);
|
H A D | hub.c | 2411 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 D | quirks.c | 560 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 D | f_uac1.c | 1090 /* 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 D | f_midi2.c | 179 .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 D | f_uvc.c | 617 uvc_control_header->wTotalLength = cpu_to_le16(control_size); 635 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size);
|
H A D | f_uac2.c | 260 /* .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 D | f_midi.c | 135 .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 D | f_uac1_legacy.c | 58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
|
/linux-master/drivers/usb/host/ |
H A D | xhci-hub.c | 55 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 D | usbtest.c | 733 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 D | hub.c | 100 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
|
/linux-master/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 273 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),
|