Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/usb/
Dvideo.h197 __u16 wTotalLength; member
214 __u16 wTotalLength; \
358 __u16 wTotalLength; member
380 __u16 wTotalLength; \
397 __u16 wTotalLength; member
415 __u16 wTotalLength; \
Dch9.h318 __le16 wTotalLength; member
718 __le16 wTotalLength; member
760 __le16 wTotalLength; member
Dmidi.h42 __le16 wTotalLength; member
Daudio.h159 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member
173 __le16 wTotalLength; \
/external/libusb/libusb/
Ddescriptor.c341 size = config->wTotalLength; in parse_configuration()
487 buf = malloc(_config->wTotalLength); in libusb_get_active_config_descriptor()
494 _config->wTotalLength, &host_endian); in libusb_get_active_config_descriptor()
556 buf = malloc(_config->wTotalLength); in libusb_get_config_descriptor()
564 _config->wTotalLength, &host_endian); in libusb_get_config_descriptor()
Dlibusb.h479 uint16_t wTotalLength; member
/external/chromium_org/third_party/libusb/src/libusb/
Ddescriptor.c594 buf = malloc(_config.wTotalLength); in libusb_get_active_config_descriptor()
599 _config.wTotalLength, &host_endian); in libusb_get_active_config_descriptor()
647 buf = malloc(_config.wTotalLength); in libusb_get_config_descriptor()
652 _config.wTotalLength, &host_endian); in libusb_get_config_descriptor()
928 _bos.wTotalLength, _bos.bNumDeviceCaps); in libusb_get_bos_descriptor()
929 bos_data = calloc(_bos.wTotalLength, 1); in libusb_get_bos_descriptor()
934 _bos.wTotalLength); in libusb_get_bos_descriptor()
Dlibusb.h656 uint16_t wTotalLength; member
758 uint16_t wTotalLength; member
/external/libusb-compat/examples/
Dtestlibusb.c51 printf(" wTotalLength: %d\n", config->wTotalLength); in print_configuration()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_usbfs.c714 if (next != config.wTotalLength) in seek_to_next_config()
716 "%d real %d", config.wTotalLength, next); in seek_to_next_config()
719 if (config.wTotalLength < LIBUSB_DT_CONFIG_SIZE) { in seek_to_next_config()
721 config.wTotalLength); in seek_to_next_config()
723 } else if (config.wTotalLength > size) { in seek_to_next_config()
725 size, config.wTotalLength); in seek_to_next_config()
728 return config.wTotalLength; in seek_to_next_config()
Dopenbsd_usb.c306 len = MIN(len, UGETW(ucd->wTotalLength)); in obsd_get_active_config_descriptor()
651 len = UGETW(udc.udc_desc.wTotalLength); in _cache_active_config_descriptor()
Dwindows_usb.c1023 …if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR)))… in cache_config_descriptors()
1028 size = sizeof(USB_DESCRIPTOR_REQUEST) + cd_buf_short.data.wTotalLength; in cache_config_descriptors()
1051 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { in cache_config_descriptors()
1062 i, cd_data->bConfigurationValue, cd_data->wTotalLength); in cache_config_descriptors()
1065 priv->config_descriptor[i] = (unsigned char*) malloc(cd_data->wTotalLength); in cache_config_descriptors()
1068 memcpy(priv->config_descriptor[i], cd_data, cd_data->wTotalLength); in cache_config_descriptors()
1764 size = min(config_header->wTotalLength, len); in windows_get_config_descriptor()
3220 cd->wTotalLength = (uint16_t) config_total_len; in _hid_get_config_descriptor()
Dwindows_usb.h446 USHORT wTotalLength; member
Ddarwin_usb.c515 if (libusb_le16_to_cpu(desc->wTotalLength) < len) in darwin_get_config_descriptor()
516 len = libusb_le16_to_cpu(desc->wTotalLength); in darwin_get_config_descriptor()
/external/libusb-compat/libusb/
Dusb.h160 u_int16_t wTotalLength; member
/external/libusb/libusb/os/
Dlinux_usbfs.c411 off = lseek(fd, config.wTotalLength - sizeof(tmp), SEEK_CUR); in seek_to_next_config()
618 buf = malloc(config.wTotalLength); in cache_active_config()
623 config.wTotalLength); in cache_active_config()
Ddarwin_usb.c423 if (libusb_le16_to_cpu(desc->wTotalLength) < len) in darwin_get_config_descriptor()
424 len = libusb_le16_to_cpu(desc->wTotalLength); in darwin_get_config_descriptor()