Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_winusb.c898 PUSB_CONFIGURATION_DESCRIPTOR cd_data = NULL; in cache_config_descriptors() local
963cd_data = (PUSB_CONFIGURATION_DESCRIPTOR)((UCHAR *)cd_buf_actual + sizeof(USB_DESCRIPTOR_REQUEST)); in cache_config_descriptors()
965 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { in cache_config_descriptors()
970 if (cd_data->bDescriptorType != USB_CONFIGURATION_DESCRIPTOR_TYPE) { in cache_config_descriptors()
976 i, cd_data->bConfigurationValue, cd_data->wTotalLength); in cache_config_descriptors()
979 priv->config_descriptor[i] = malloc(cd_data->wTotalLength); in cache_config_descriptors()
982 memcpy(priv->config_descriptor[i], cd_data, cd_data->wTotalLength); in cache_config_descriptors()