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

/external/kernel-headers/original/uapi/linux/usb/
H A Dvideo.h197 __u16 wTotalLength; member in struct:uvc_header_descriptor
214 __u16 wTotalLength; \
358 __u16 wTotalLength; member in struct:uvc_input_header_descriptor
380 __u16 wTotalLength; \
397 __u16 wTotalLength; member in struct:uvc_output_header_descriptor
415 __u16 wTotalLength; \
H A Dmidi.h42 __le16 wTotalLength; member in struct:usb_ms_header_descriptor
H A Dch9.h318 __le16 wTotalLength; member in struct:usb_config_descriptor
718 __le16 wTotalLength; member in struct:usb_security_descriptor
760 __le16 wTotalLength; member in struct:usb_bos_descriptor
H A Daudio.h159 __le16 wTotalLength; /* includes Unit and Terminal desc. */ member in struct:uac1_ac_header_descriptor
173 __le16 wTotalLength; \
/external/libusb/libusb/
H A Ddescriptor.c341 size = config->wTotalLength;
487 buf = malloc(_config->wTotalLength);
494 _config->wTotalLength, &host_endian);
556 buf = malloc(_config->wTotalLength);
564 _config->wTotalLength, &host_endian);
H A Dlibusb.h479 uint16_t wTotalLength; member in struct:libusb_config_descriptor
/external/chromium_org/third_party/libusb/src/libusb/
H A Ddescriptor.c594 buf = malloc(_config.wTotalLength);
599 _config.wTotalLength, &host_endian);
647 buf = malloc(_config.wTotalLength);
652 _config.wTotalLength, &host_endian);
928 _bos.wTotalLength, _bos.bNumDeviceCaps);
929 bos_data = calloc(_bos.wTotalLength, 1);
934 _bos.wTotalLength);
H A Dlibusb.h656 uint16_t wTotalLength; member in struct:libusb_config_descriptor
758 uint16_t wTotalLength; member in struct:libusb_bos_descriptor
/external/libusb-compat/examples/
H A Dtestlibusb.c51 printf(" wTotalLength: %d\n", config->wTotalLength);
/external/libusb-compat/libusb/
H A Dusb.h160 u_int16_t wTotalLength; member in struct:usb_config_descriptor
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dlinux_usbfs.c699 * In usbfs the config descriptors are config.wTotalLength bytes apart,
702 * In sysfs wTotalLength is ignored, instead the kernel returns a
714 if (next != config.wTotalLength)
715 usbi_warn(ctx, "config length mismatch wTotalLength "
716 "%d real %d", config.wTotalLength, next);
719 if (config.wTotalLength < LIBUSB_DT_CONFIG_SIZE) {
720 usbi_err(ctx, "invalid wTotalLength %d",
721 config.wTotalLength);
723 } else if (config.wTotalLength > size) {
725 size, config.wTotalLength);
[all...]
H A Dopenbsd_usb.c306 len = MIN(len, UGETW(ucd->wTotalLength));
651 len = UGETW(udc.udc_desc.wTotalLength);
H A Dwindows_usb.c1023 if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR))) {
1028 size = sizeof(USB_DESCRIPTOR_REQUEST) + cd_buf_short.data.wTotalLength;
1051 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) {
1062 i, cd_data->bConfigurationValue, cd_data->wTotalLength);
1065 priv->config_descriptor[i] = (unsigned char*) malloc(cd_data->wTotalLength);
1068 memcpy(priv->config_descriptor[i], cd_data, cd_data->wTotalLength);
1764 size = min(config_header->wTotalLength, len);
3220 cd->wTotalLength = (uint16_t) config_total_len;
H A Ddarwin_usb.c515 if (libusb_le16_to_cpu(desc->wTotalLength) < len)
516 len = libusb_le16_to_cpu(desc->wTotalLength);
H A Dwindows_usb.h446 USHORT wTotalLength; member in struct:USB_CONFIGURATION_DESCRIPTOR
/external/libusb/libusb/os/
H A Dlinux_usbfs.c411 off = lseek(fd, config.wTotalLength - sizeof(tmp), SEEK_CUR);
618 buf = malloc(config.wTotalLength);
623 config.wTotalLength);
H A Ddarwin_usb.c423 if (libusb_le16_to_cpu(desc->wTotalLength) < len)
424 len = libusb_le16_to_cpu(desc->wTotalLength);

Completed in 241 milliseconds