Searched refs:cd_buf_actual (Results 1 – 1 of 1) sorted by relevance
897 PUSB_DESCRIPTOR_REQUEST cd_buf_actual = NULL; // actual request in cache_config_descriptors() local912 safe_free(cd_buf_actual); in cache_config_descriptors()943 cd_buf_actual = calloc(1, size); in cache_config_descriptors()944 if (cd_buf_actual == NULL) { in cache_config_descriptors()950 cd_buf_actual->ConnectionIndex = (ULONG)priv->port; in cache_config_descriptors()951 cd_buf_actual->SetupPacket.bmRequest = LIBUSB_ENDPOINT_IN; in cache_config_descriptors()952 cd_buf_actual->SetupPacket.bRequest = USB_REQUEST_GET_DESCRIPTOR; in cache_config_descriptors()953 cd_buf_actual->SetupPacket.wValue = (USB_CONFIGURATION_DESCRIPTOR_TYPE << 8) | i; in cache_config_descriptors()954 cd_buf_actual->SetupPacket.wIndex = 0; in cache_config_descriptors()955 cd_buf_actual->SetupPacket.wLength = (USHORT)(size - sizeof(USB_DESCRIPTOR_REQUEST)); in cache_config_descriptors()[all …]