Home
last modified time | relevance | path

Searched refs:num_configurations (Results 1 – 5 of 5) sorted by relevance

/external/libusb/libusb/
Dcore.c531 uint8_t num_configurations; in usbi_sanitize_device() local
538 num_configurations = raw_desc[DEVICE_DESC_LENGTH - 1]; in usbi_sanitize_device()
539 if (num_configurations > USB_MAXCONFIG) { in usbi_sanitize_device()
542 } else if (num_configurations < 1) { in usbi_sanitize_device()
547 dev->num_configurations = num_configurations; in usbi_sanitize_device()
Ddescriptor.c543 if (config_index >= dev->num_configurations) in libusb_get_config_descriptor()
598 for (i = 0; i < dev->num_configurations; i++) { in usbi_get_config_index_by_value()
Dlibusbi.h214 uint8_t num_configurations; member
/external/libusb-compat/libusb/
Dcore.c509 int num_configurations; in initialize_device() local
522 num_configurations = dev->descriptor.bNumConfigurations; in initialize_device()
523 alloc_size = sizeof(struct usb_config_descriptor) * num_configurations; in initialize_device()
533 for (i = 0; i < num_configurations; i++) { in initialize_device()
/external/libusb/libusb/os/
Dlinux_usbfs.c770 dev->num_configurations = dev_buf[DEVICE_DESC_LENGTH - 1]; in initialize_device()