Home
last modified time | relevance | path

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

/external/libusb/libusb/
Ddescriptor.c534 uint8_t config_index, struct libusb_config_descriptor **config) in libusb_get_config_descriptor() argument
542 usbi_dbg("index %d", config_index); in libusb_get_config_descriptor()
543 if (config_index >= dev->num_configurations) in libusb_get_config_descriptor()
550 r = usbi_backend->get_config_descriptor(dev, config_index, tmp, in libusb_get_config_descriptor()
563 r = usbi_backend->get_config_descriptor(dev, config_index, buf, in libusb_get_config_descriptor()
Dlibusbi.h524 uint8_t config_index, unsigned char *buffer, size_t len,
Dlibusb.h789 int libusb_get_config_descriptor(libusb_device *dev, uint8_t config_index,
/external/libusb/libusb/os/
Ddarwin_usb.c52 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned c…
385 int config_index; in darwin_get_active_config_descriptor() local
392 config_index = get_configuration_index (dev, config_value); in darwin_get_active_config_descriptor()
393 if (config_index < 0) in darwin_get_active_config_descriptor()
394 return config_index; in darwin_get_active_config_descriptor()
396 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); in darwin_get_active_config_descriptor()
399 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned c… in darwin_get_config_descriptor() argument
420 kresult = (*device)->GetConfigurationDescriptorPtr (device, config_index, &desc); in darwin_get_config_descriptor()
Dlinux_usbfs.c528 uint8_t config_index, unsigned char *buffer, size_t len) in get_config_descriptor() argument
541 while (config_index > 0) { in get_config_descriptor()
545 config_index--; in get_config_descriptor()
562 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) in op_get_config_descriptor() argument
583 r = get_config_descriptor(DEVICE_CTX(dev), fd, config_index, buffer, len); in op_get_config_descriptor()