Searched refs:config_descriptor (Results 1 – 7 of 7) sorted by relevance
318 let config_descriptor = self in set_config() localVariable323 self.claim_interfaces(&config_descriptor); in set_config()324 self.create_endpoints(&config_descriptor)?; in set_config()343 let config_descriptor = self in set_interface() localVariable348 self.create_endpoints(&config_descriptor)?; in set_interface()366 fn claim_interfaces(&mut self, config_descriptor: &ConfigDescriptorTree) { in claim_interfaces()367 for i in 0..config_descriptor.num_interfaces() { in claim_interfaces()380 fn create_endpoints(&mut self, config_descriptor: &ConfigDescriptorTree) -> Result<()> { in create_endpoints()384 let interface = config_descriptor in create_endpoints()
133 let mut config_descriptor = ConfigDescriptorTree { in parse_usbfs_descriptors() localVariable138 for intf_idx in 0..config_descriptor.bNumInterfaces { in parse_usbfs_descriptors()160 config_descriptor.interface_descriptors.insert( in parse_usbfs_descriptors()175 .insert(config_descriptor.bConfigurationValue, config_descriptor); in parse_usbfs_descriptors()
275 Some(config_descriptor) => Ok(config_descriptor.clone()), in get_config_descriptor()
223 if ((dev->device_descriptor.bNumConfigurations > 0) && (priv->config_descriptor != NULL)) { in winusb_device_priv_release()225 if (priv->config_descriptor[i] == NULL) in winusb_device_priv_release()227 free((UCHAR *)priv->config_descriptor[i] - USB_DESCRIPTOR_REQUEST_SIZE); in winusb_device_priv_release()230 free(priv->config_descriptor); in winusb_device_priv_release()
703 priv->config_descriptor = calloc(num_configurations, sizeof(PUSB_CONFIGURATION_DESCRIPTOR)); in cache_config_descriptors()704 if (priv->config_descriptor == NULL) { in cache_config_descriptors()776 priv->config_descriptor[i] = cd_data; in cache_config_descriptors()829 priv->config_descriptor = malloc(sizeof(*priv->config_descriptor)); in alloc_root_hub_config_desc()830 if (priv->config_descriptor == NULL) in alloc_root_hub_config_desc()850 priv->config_descriptor[0] = (PUSB_CONFIGURATION_DESCRIPTOR)ptr; in alloc_root_hub_config_desc()1799 if ((priv->config_descriptor == NULL) || (priv->config_descriptor[config_index] == NULL)) in winusb_get_config_descriptor()1802 config_header = priv->config_descriptor[config_index]; in winusb_get_config_descriptor()1816 if (priv->config_descriptor == NULL) in winusb_get_config_descriptor_by_value()1820 config_header = priv->config_descriptor[index]; in winusb_get_config_descriptor_by_value()
259 …PUSB_CONFIGURATION_DESCRIPTOR *config_descriptor; // list of pointers to the cached config descrip… member
121 struct config_descriptor { struct130 struct config_descriptor *config_descriptors; argument769 struct config_descriptor *config; in op_get_config_descriptor_by_value()818 struct config_descriptor *config; in op_get_config_descriptor()