/external/kernel-headers/original/uapi/linux/usb/ |
D | video.h | 199 __le16 wTotalLength; member 216 __le16 wTotalLength; \ 360 __le16 wTotalLength; member 382 __le16 wTotalLength; \ 399 __le16 wTotalLength; member 417 __le16 wTotalLength; \
|
D | midi.h | 43 __le16 wTotalLength; member
|
D | ch9.h | 349 __le16 wTotalLength; member 799 __le16 wTotalLength; member 841 __le16 wTotalLength; member
|
D | audio.h | 161 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member 175 __le16 wTotalLength; \
|
/external/u-boot/drivers/usb/emul/ |
D | usb-emul-uclass.c | 278 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/ |
D | descriptor.c | 586 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()
|
D | libusb.h | 653 uint16_t wTotalLength; member 756 uint16_t wTotalLength; member
|
/external/u-boot/common/ |
D | usb.c | 403 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/ |
D | composite.c | 217 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()
|
D | config.c | 104 put_unaligned_le16(len, &cp->wTotalLength); in usb_gadget_config_buf()
|
D | ep0.c | 238 …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/ |
D | testlibusb.c | 110 printf(" wTotalLength: %d\n", bos->wTotalLength); in print_bos() 153 printf(" wTotalLength: %d\n", config->wTotalLength); in print_configuration()
|
/external/libusb/libusb/os/ |
D | windows_nt_common.h | 37 USHORT wTotalLength; member
|
D | linux_usbfs.c | 736 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()
|
D | netbsd_usb.c | 265 len = MIN(len, UGETW(ucd->wTotalLength)); in netbsd_get_active_config_descriptor() 544 len = UGETW(ucd.ucd_desc.wTotalLength); in _cache_active_config_descriptor()
|
D | openbsd_usb.c | 306 len = MIN(len, UGETW(ucd->wTotalLength)); in obsd_get_active_config_descriptor() 599 len = UGETW(udc.udc_desc.wTotalLength); in _cache_active_config_descriptor()
|
D | windows_winusb.c | 937 …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()
|
D | windows_usbdk.c | 404 size = min(config_header->wTotalLength, len); in usbdk_get_config_descriptor()
|
/external/u-boot/include/linux/usb/ |
D | ch9.h | 315 __le16 wTotalLength; member 758 __le16 wTotalLength; member 800 __le16 wTotalLength; member
|
/external/u-boot/drivers/usb/host/ |
D | ehci.h | 98 unsigned short wTotalLength; member
|
/external/u-boot/drivers/serial/ |
D | usbtty.c | 164 .wTotalLength = 295 .wTotalLength =
|
/external/libusb/include/libusb/ |
D | libusb.h | 653 uint16_t wTotalLength; member 756 uint16_t wTotalLength; member
|
/external/u-boot/include/ |
D | usbdescriptors.h | 205 u16 wTotalLength; member
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | usb_descriptors_unittest.py | 183 self.assertEquals(95, descriptor.wTotalLength)
|
/external/crosvm/usb_util/src/ |
D | bindings.rs | 2813 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
|