Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dhaiku_usb_backend.cpp331 for(int i = 0; i < fDeviceDescriptor.num_configurations; i++) { in ~USBDevice()
358 return fDeviceDescriptor.num_configurations; in CountConfigurations()
446 …fConfigurationDescriptors = new(std::nothrow) unsigned char *[fDeviceDescriptor.num_configurations in Initialise()
447 fEndpointToIndex = new(std::nothrow) map<uint8,uint8> [fDeviceDescriptor.num_configurations]; in Initialise()
448 fEndpointToInterface = new(std::nothrow) map<uint8,uint8> [fDeviceDescriptor.num_configurations]; in Initialise()
449 for (int i = 0; i < fDeviceDescriptor.num_configurations; i++) { in Initialise()
Dwindows_winusb.c861 dev->num_configurations = 1; in force_hcd_device_descriptor()
900 if (dev->num_configurations == 0) in cache_config_descriptors()
903 priv->config_descriptor = calloc(dev->num_configurations, sizeof(unsigned char *)); in cache_config_descriptors()
907 for (i = 0; i < dev->num_configurations; i++) in cache_config_descriptors()
915 if ((i >= dev->num_configurations) || (r != LIBUSB_SUCCESS)) in cache_config_descriptors()
1080 dev->num_configurations = priv->dev_descriptor.bNumConfigurations; in init_device()
1082 …usbi_dbg("found %u configurations (active conf: %u)", dev->num_configurations, priv->active_config… in init_device()
1086 dev->num_configurations = 0; in init_device()
1557 dev->num_configurations = 0; in windows_get_device_list()
1705 if (config_index >= dev->num_configurations) in windows_get_config_descriptor()
[all …]
Dwindows_usbdk.c302 dev->num_configurations = info->DeviceDescriptor.bNumConfigurations; in usbdk_device_init()
399 if (config_index >= dev->num_configurations) in usbdk_get_config_descriptor()
Dwindows_winusb.h260 if ((dev->num_configurations > 0) && (p->config_descriptor != NULL)) { in windows_device_priv_release()
261 for (i = 0; i < dev->num_configurations; i++) in windows_device_priv_release()
/external/libusb/libusb/
Dcore.c753 uint8_t num_configurations; in usbi_sanitize_device() local
759 num_configurations = dev->device_descriptor.bNumConfigurations; in usbi_sanitize_device()
760 if (num_configurations > USB_MAXCONFIG) { in usbi_sanitize_device()
763 } else if (0 == num_configurations) in usbi_sanitize_device()
766 dev->num_configurations = num_configurations; in usbi_sanitize_device()
Ddescriptor.c625 if (config_index >= dev->num_configurations) in libusb_get_config_descriptor()
663 for (i = 0; i < dev->num_configurations; i++) { in usbi_get_config_index_by_value()
Dlibusbi.h377 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/include/libusb/
Dlibusbi.h377 uint8_t num_configurations; member