Searched refs:num_configurations (Results 1 – 5 of 5) sorted by relevance
531 uint8_t num_configurations; in usbi_sanitize_device() local538 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()
543 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()
214 uint8_t num_configurations; member
509 int num_configurations; in initialize_device() local522 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()
770 dev->num_configurations = dev_buf[DEVICE_DESC_LENGTH - 1]; in initialize_device()