Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/linux/usb/
Dvideo.h199 __le16 wTotalLength; member
216 __le16 wTotalLength; \
360 __le16 wTotalLength; member
382 __le16 wTotalLength; \
399 __le16 wTotalLength; member
417 __le16 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; \
/external/u-boot/drivers/usb/emul/
Dusb-emul-uclass.c278 cdesc->wTotalLength = upto; in usb_emul_setup_device()
288 cdesc->wTotalLength = upto; in usb_emul_setup_device()
290 cdesc->bConfigurationValue, cdesc->wTotalLength); in usb_emul_setup_device()
/external/libusb/libusb/
Ddescriptor.c586 buf = malloc(_config.wTotalLength); in libusb_get_active_config_descriptor()
591 _config.wTotalLength, &host_endian); in libusb_get_active_config_descriptor()
639 buf = malloc(_config.wTotalLength); in libusb_get_config_descriptor()
644 _config.wTotalLength, &host_endian); in libusb_get_config_descriptor()
920 _bos.wTotalLength, _bos.bNumDeviceCaps); in libusb_get_bos_descriptor()
921 bos_data = calloc(_bos.wTotalLength, 1); in libusb_get_bos_descriptor()
926 _bos.wTotalLength); in libusb_get_bos_descriptor()
Dlibusb.h653 uint16_t wTotalLength; member
756 uint16_t wTotalLength; member
/external/u-boot/common/
Dusb.c403 while (index + 1 < dev->config.desc.wTotalLength && head->bLength) { in usb_parse_config()
412 dev->config.desc.wTotalLength) { in usb_parse_config()
449 dev->config.desc.wTotalLength) { in usb_parse_config()
486 dev->config.desc.wTotalLength) { in usb_parse_config()
586 return le16_to_cpu(config->wTotalLength); in usb_get_configuration_len()
601 le16_to_cpu(config->wTotalLength)); in usb_get_configuration_no()
602 config->wTotalLength = result; /* validated, with CPU byte order */ in usb_get_configuration_no()
/external/u-boot/drivers/usb/gadget/
Dcomposite.c217 c->wTotalLength = cpu_to_le16(len); in config_buf()
708 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
715 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
717 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
732 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
734 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
750 return le16_to_cpu(bos->wTotalLength); in bos_desc()
Dconfig.c104 put_unaligned_le16(len, &cp->wTotalLength); in usb_gadget_config_buf()
Dep0.c238 …bg_ep0(0, "attempt to copy %d bytes to urb\n",cpu_to_le16(configuration_descriptor->wTotalLength)); in ep0_get_descriptor()
241 cpu_to_le16(configuration_descriptor->wTotalLength), in ep0_get_descriptor()
/external/libusb/examples/
Dtestlibusb.c110 printf(" wTotalLength: %d\n", bos->wTotalLength); in print_bos()
153 printf(" wTotalLength: %d\n", config->wTotalLength); in print_configuration()
/external/libusb/libusb/os/
Dwindows_nt_common.h37 USHORT wTotalLength; member
Dlinux_usbfs.c736 if (next != config.wTotalLength) in seek_to_next_config()
738 "%d real %d", config.wTotalLength, next); in seek_to_next_config()
741 if (config.wTotalLength < LIBUSB_DT_CONFIG_SIZE) { in seek_to_next_config()
743 config.wTotalLength); in seek_to_next_config()
745 } else if (config.wTotalLength > size) { in seek_to_next_config()
747 size, config.wTotalLength); in seek_to_next_config()
750 return config.wTotalLength; in seek_to_next_config()
Dnetbsd_usb.c265 len = MIN(len, UGETW(ucd->wTotalLength)); in netbsd_get_active_config_descriptor()
544 len = UGETW(ucd.ucd_desc.wTotalLength); in _cache_active_config_descriptor()
Dopenbsd_usb.c306 len = MIN(len, UGETW(ucd->wTotalLength)); in obsd_get_active_config_descriptor()
599 len = UGETW(udc.udc_desc.wTotalLength); in _cache_active_config_descriptor()
Dwindows_winusb.c937 …if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR)))… in cache_config_descriptors()
942 size = sizeof(USB_DESCRIPTOR_REQUEST) + cd_buf_short.data.wTotalLength; in cache_config_descriptors()
965 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { in cache_config_descriptors()
976 i, cd_data->bConfigurationValue, cd_data->wTotalLength); in cache_config_descriptors()
979 priv->config_descriptor[i] = malloc(cd_data->wTotalLength); in cache_config_descriptors()
982 memcpy(priv->config_descriptor[i], cd_data, cd_data->wTotalLength); in cache_config_descriptors()
1713 size = MIN(config_header->wTotalLength, len); in windows_get_config_descriptor()
1737 return (int)config_header->wTotalLength; in windows_get_config_descriptor_by_value()
3057 cd->wTotalLength = (uint16_t)config_total_len; in _hid_get_config_descriptor()
Dwindows_usbdk.c404 size = min(config_header->wTotalLength, len); in usbdk_get_config_descriptor()
/external/u-boot/include/linux/usb/
Dch9.h315 __le16 wTotalLength; member
758 __le16 wTotalLength; member
800 __le16 wTotalLength; member
/external/u-boot/drivers/usb/host/
Dehci.h98 unsigned short wTotalLength; member
/external/u-boot/drivers/serial/
Dusbtty.c164 .wTotalLength =
295 .wTotalLength =
/external/libusb/include/libusb/
Dlibusb.h653 uint16_t wTotalLength; member
756 uint16_t wTotalLength; member
/external/u-boot/include/
Dusbdescriptors.h205 u16 wTotalLength; member
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors_unittest.py183 self.assertEquals(95, descriptor.wTotalLength)
/external/crosvm/usb_util/src/
Dbindings.rs2813 pub wTotalLength: u16, field
2875 &(*(::std::ptr::null::<libusb_config_descriptor>())).wTotalLength as *const _ as usize in bindgen_test_layout_libusb_config_descriptor()
2882 stringify!(wTotalLength) in bindgen_test_layout_libusb_config_descriptor()
3142 pub wTotalLength: u16, field

12