Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/uapi/linux/usb/
Dvideo.h199 __u16 wTotalLength; member
216 __u16 wTotalLength; \
360 __u16 wTotalLength; member
382 __u16 wTotalLength; \
399 __u16 wTotalLength; member
417 __u16 wTotalLength; \
Dmidi.h43 __le16 wTotalLength; member
Dch9.h349 __le16 wTotalLength; member
799 __le16 wTotalLength; member
841 __le16 wTotalLength; member
Daudio.h161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
175 __le16 wTotalLength; \
/Linux-v4.19/drivers/usb/host/
Dhwa-hc.c565 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in wa_fill_descr()
639 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwahc_security_create()
642 le16_to_cpu(usb_dev->actconfig->desc.wTotalLength), in hwahc_security_create()
655 needed = le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
664 top = (void *) secd + le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
/Linux-v4.19/drivers/usb/gadget/legacy/
Dwebcam.c94 .wTotalLength = 0, /* dynamic */
148 .wTotalLength = 0, /* dynamic */
Dinode.c1316 len = le16_to_cpu(dev->hs_config->wTotalLength); in config_buf()
1319 len = le16_to_cpu(dev->config->wTotalLength); in config_buf()
1825 total = le16_to_cpu(dev->config->wTotalLength); in dev_config()
1835 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
/Linux-v4.19/drivers/usb/gadget/
Dcomposite.c495 c->wTotalLength = cpu_to_le16(len); in config_buf()
619 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
626 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
628 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
641 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
643 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
672 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
679 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(1)); in bos_desc()
714 return le16_to_cpu(bos->wTotalLength); in bos_desc()
Dconfig.c103 cp->wTotalLength = cpu_to_le16(len); in usb_gadget_config_buf()
/Linux-v4.19/sound/usb/
Dquirks.c579 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk()
580 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk()
596 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk()
806 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk()
845 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk()
/Linux-v4.19/drivers/usb/core/
Dconfig.c678 config->desc.wTotalLength = cpu_to_le16(buffer2 - buffer0); in usb_parse_configuration()
856 length = max((int) le16_to_cpu(desc->wTotalLength), in usb_get_configuration()
948 total_len = le16_to_cpu(bos->wTotalLength); in usb_get_bos_descriptor()
Dhub.c2252 le16_to_cpu(udev->config[0].desc.wTotalLength), in usb_enumerate_device_otg()
5467 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5468 if (len != le16_to_cpu(old_bos->desc->wTotalLength)) in descriptors_changed()
5485 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
5495 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed()
/Linux-v4.19/include/linux/usb/
Daudio-v2.h54 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
Daudio-v3.h66 __le16 wTotalLength; member
/Linux-v4.19/drivers/usb/wusbcore/
Ddevconnect.c776 desc_size = le16_to_cpu(bos->wTotalLength); in wusb_dev_bos_add()
791 || le16_to_cpu(bos->wTotalLength) != desc_size) { in wusb_dev_bos_add()
Dsecurity.c225 secd_size = le16_to_cpu(secd->wTotalLength); in wusb_dev_sec_add()
/Linux-v4.19/drivers/usb/gadget/function/
Df_uvc.c573 uvc_control_header->wTotalLength = cpu_to_le16(control_size); in uvc_copy_descriptors()
587 uvc_streaming_header->wTotalLength = cpu_to_le16(streaming_size); in uvc_copy_descriptors()
Df_midi.c135 .wTotalLength = cpu_to_le16(UAC_DT_AC_HEADER_SIZE(1)),
939 ms_header_desc.wTotalLength = cpu_to_le16(n); in f_midi_bind()
Df_uac1.c76 .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH),
Df_uac1_legacy.c58 .wTotalLength = __constant_cpu_to_le16(UAC_DT_TOTAL_LENGTH),
Df_uac2.c219 .wTotalLength = cpu_to_le16(sizeof in_clk_src_desc
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-bus-usb125 Note that the wTotalLength of the config descriptors can not
/Linux-v4.19/drivers/usb/misc/
Dusbtest.c725 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */ in is_good_config()
727 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */ in is_good_config()
904 total = le16_to_cpu(bos->wTotalLength); in ch9_postconfig()
1349 len = le16_to_cpu(udev->bos->desc->wTotalLength); in test_ctrl_queue()
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c104 .wTotalLength = cpu_to_le16(AST_VHUB_CONF_DESC_SIZE),
/Linux-v4.19/drivers/uwb/
Dhwa-rc.c766 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version()

12