Home
last modified time | relevance | path

Searched refs:config_desc (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c694 struct usbi_configuration_descriptor *config_desc; in parse_config_descriptors() local
703 config_desc = (struct usbi_configuration_descriptor *)buffer; in parse_config_descriptors()
704 if (config_desc->bDescriptorType != LIBUSB_DT_CONFIG) { in parse_config_descriptors()
706 config_desc->bDescriptorType); in parse_config_descriptors()
708 } else if (config_desc->bLength < LIBUSB_DT_CONFIG_SIZE) { in parse_config_descriptors()
710 config_desc->bLength); in parse_config_descriptors()
714 config_len = libusb_le16_to_cpu(config_desc->wTotalLength); in parse_config_descriptors()
755 priv->config_descriptors[idx].desc = config_desc; in parse_config_descriptors()
787 void *config_desc; in op_get_active_config_descriptor() local
805 r = op_get_config_descriptor_by_value(dev, active_config, &config_desc); in op_get_active_config_descriptor()
[all …]
Dwindows_winusb.c1838 void *config_desc; in winusb_get_active_config_descriptor() local
1844 r = winusb_get_config_descriptor_by_value(dev, priv->active_config, &config_desc); in winusb_get_active_config_descriptor()
1849 memcpy(buffer, config_desc, len); in winusb_get_active_config_descriptor()