Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_winusb.c694 PUSB_DESCRIPTOR_REQUEST cd_buf_actual = NULL; // actual request in cache_config_descriptors() local
710 safe_free(cd_buf_actual); in cache_config_descriptors()
740 cd_buf_actual = malloc(size); in cache_config_descriptors()
741 if (cd_buf_actual == NULL) { in cache_config_descriptors()
747 cd_buf_actual->ConnectionIndex = (ULONG)dev->port_number; in cache_config_descriptors()
748 cd_buf_actual->SetupPacket.bmRequest = LIBUSB_ENDPOINT_IN; in cache_config_descriptors()
749 cd_buf_actual->SetupPacket.bRequest = LIBUSB_REQUEST_GET_DESCRIPTOR; in cache_config_descriptors()
750 cd_buf_actual->SetupPacket.wValue = (LIBUSB_DT_CONFIG << 8) | i; in cache_config_descriptors()
751 cd_buf_actual->SetupPacket.wIndex = 0; in cache_config_descriptors()
752 cd_buf_actual->SetupPacket.wLength = cd_buf_short.desc.wTotalLength; in cache_config_descriptors()
[all …]