Searched refs:config_header (Results 1 – 4 of 4) sorted by relevance
41 config_header = include_config_re.match(line)42 if config_header:43 curr_config_header = config_header.group(1)
42 config_header = include_config_re.match(line)43 if config_header:44 curr_config_header = config_header.group(1)
366 PUSB_CONFIGURATION_DESCRIPTOR config_header; in usbdk_get_config_descriptor() local369 config_header = (PUSB_CONFIGURATION_DESCRIPTOR)priv->config_descriptors[config_index]; in usbdk_get_config_descriptor()371 size = min(config_header->wTotalLength, len); in usbdk_get_config_descriptor()372 memcpy(buffer, config_header, size); in usbdk_get_config_descriptor()380 PUSB_CONFIGURATION_DESCRIPTOR config_header; in usbdk_get_config_descriptor_by_value() local384 config_header = priv->config_descriptors[index]; in usbdk_get_config_descriptor_by_value()385 if (config_header->bConfigurationValue == bConfigurationValue) { in usbdk_get_config_descriptor_by_value()387 return (int)config_header->wTotalLength; in usbdk_get_config_descriptor_by_value()
1797 PUSB_CONFIGURATION_DESCRIPTOR config_header; in winusb_get_config_descriptor() local1802 config_header = priv->config_descriptor[config_index]; in winusb_get_config_descriptor()1804 len = MIN(len, config_header->wTotalLength); in winusb_get_config_descriptor()1805 memcpy(buffer, config_header, len); in winusb_get_config_descriptor()1813 PUSB_CONFIGURATION_DESCRIPTOR config_header; in winusb_get_config_descriptor_by_value() local1820 config_header = priv->config_descriptor[index]; in winusb_get_config_descriptor_by_value()1821 if (config_header == NULL) in winusb_get_config_descriptor_by_value()1823 if (config_header->bConfigurationValue == bConfigurationValue) { in winusb_get_config_descriptor_by_value()1824 *buffer = config_header; in winusb_get_config_descriptor_by_value()1825 return (int)config_header->wTotalLength; in winusb_get_config_descriptor_by_value()