Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/uapi/linux/usb/
A Dvideo.h229 __le16 wTotalLength; member
246 __le16 wTotalLength; \
391 __le16 wTotalLength; member
413 __le16 wTotalLength; \
430 __le16 wTotalLength; member
448 __le16 wTotalLength; \
A Dmidi.h43 __le16 wTotalLength; member
A Dch9.h353 __le16 wTotalLength; member
806 __le16 wTotalLength; member
848 __le16 wTotalLength; member
A Daudio.h161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
175 __le16 wTotalLength; \
/linux-6.3-rc2/drivers/usb/gadget/
A Dcomposite.c563 c->wTotalLength = cpu_to_le16(len); in config_buf()
688 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
719 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
721 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
736 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
738 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
768 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
771 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac)); in bos_desc()
834 webusb_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
837 le16_add_cpu(&bos->wTotalLength, in bos_desc()
[all …]
A Dconfig.c103 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
/linux-6.3-rc2/drivers/usb/gadget/legacy/
A Dwebcam.c94 .wTotalLength = 0, /* dynamic */
149 .wTotalLength = 0, /* dynamic */
A Dinode.c1319 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf()
1322 len = le16_to_cpu(dev->config->wTotalLength); in config_buf()
1839 total = le16_to_cpu(dev->config->wTotalLength); in dev_config()
1849 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
/linux-6.3-rc2/sound/usb/
A Dquirks.c558 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk()
559 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk()
575 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk()
907 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk()
946 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
1257 descriptor_size = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox3_boot_quirk()
1276 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox3_boot_quirk()
/linux-6.3-rc2/drivers/usb/core/
A Dconfig.c740 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()
1087 dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0); in usb_get_bos_descriptor()
A Dhub.c2342 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg()
5164 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5165 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed()
5182 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
5192 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
A Dsysfs.c885 wTotalLength); in read_descriptors()
A Ddevio.c348 unsigned int length = le16_to_cpu(config->wTotalLength); in usbdev_read()
355 le16_to_cpu(dev->config[i].desc.wTotalLength); in usbdev_read()
/linux-6.3-rc2/drivers/usb/host/
A Dxhci-hub.c55 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc()
92 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc()
121 if (wLength < le16_to_cpu(bos->wTotalLength)) in xhci_create_usb3x_bos_desc()
125 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc()
252 return le16_to_cpu(bos->wTotalLength); in xhci_create_usb3x_bos_desc()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Df_uac1.c1061 ac_header_desc->wTotalLength = cpu_to_le16(ac_header_desc->bLength); in setup_descriptor()
1064 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor()
1070 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor()
1073 u16 len = le16_to_cpu(ac_header_desc->wTotalLength); in setup_descriptor()
1079 ac_header_desc->wTotalLength = cpu_to_le16(len); in setup_descriptor()
A Df_uac2.c951 ac_hdr_desc.wTotalLength = cpu_to_le16(sizeof(ac_hdr_desc)); 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()
967 u16 len = le16_to_cpu(ac_hdr_desc.wTotalLength); in setup_descriptor()
976 ac_hdr_desc.wTotalLength = cpu_to_le16(len); in setup_descriptor()
A Df_uvc.c616 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors()
633 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size); in uvc_copy_descriptors()
A Df_midi.c135 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)),
941 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
A Df_uac1_legacy.c58 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
/linux-6.3-rc2/include/linux/usb/
A Daudio-v2.h51 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
A Daudio-v3.h66 __le16 wTotalLength; member
/linux-6.3-rc2/Documentation/ABI/stable/
A Dsysfs-bus-usb127 Note that the wTotalLength of the config descriptors can not
/linux-6.3-rc2/drivers/usb/misc/
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-6.3-rc2/drivers/usb/gadget/udc/aspeed-vhub/
A Dhub.c101 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
/linux-6.3-rc2/drivers/usb/usbip/
A Dvhci_hcd.c273 .wTotalLength = cpu_to_le16(sizeof(usb3_bos_desc)),

Completed in 75 milliseconds

12