Searched refs:config_descriptors (Results 1 – 4 of 4) sorted by relevance
237 usbdk_helper.ReleaseConfigurationDescriptor(priv->config_descriptors[i]); in usbdk_release_config_descriptors()239 free(priv->config_descriptors); in usbdk_release_config_descriptors()240 priv->config_descriptors = NULL; in usbdk_release_config_descriptors()250 …priv->config_descriptors = calloc(info->DeviceDescriptor.bNumConfigurations, sizeof(PUSB_CONFIGURA… in usbdk_cache_config_descriptors()251 if (priv->config_descriptors == NULL) { in usbdk_cache_config_descriptors()260 if (!usbdk_helper.GetConfigurationDescriptor(&Request, &priv->config_descriptors[i], &Length)) { in usbdk_cache_config_descriptors()369 config_header = (PUSB_CONFIGURATION_DESCRIPTOR)priv->config_descriptors[config_index]; in usbdk_get_config_descriptor()384 config_header = priv->config_descriptors[index]; in usbdk_get_config_descriptor_by_value()386 *buffer = priv->config_descriptors[index]; in usbdk_get_config_descriptor_by_value()509 if (priv->config_descriptors != NULL) in usbdk_destroy_device()
130 struct config_descriptor *config_descriptors; member686 priv->config_descriptors = malloc(num_configs * sizeof(priv->config_descriptors[0])); in parse_config_descriptors()687 if (!priv->config_descriptors) in parse_config_descriptors()755 priv->config_descriptors[idx].desc = config_desc; in parse_config_descriptors()756 priv->config_descriptors[idx].actual_len = config_len; in parse_config_descriptors()773 config = &priv->config_descriptors[idx]; in op_get_config_descriptor_by_value()823 config = &priv->config_descriptors[config_index]; in op_get_config_descriptor()993 if (priv->config_descriptors) in initialize_device()994 priv->active_config = priv->config_descriptors[0].desc->bConfigurationValue; in initialize_device()1824 free(priv->config_descriptors); in op_destroy_device()
233 PUSB_CONFIGURATION_DESCRIPTOR *config_descriptors; member
18 config_descriptors: BTreeMap<u8, ConfigDescriptorTree>, field37 self.config_descriptors.get(&config_value) in get_config_descriptor()126 config_descriptors: BTreeMap::new(), in parse_usbfs_descriptors()174 .config_descriptors in parse_usbfs_descriptors()