Searched refs:cd_buf_short (Results 1 – 1 of 1) sorted by relevance
896 USB_CONFIGURATION_DESCRIPTOR_SHORT cd_buf_short; // dummy request in cache_config_descriptors() local919 memset(&cd_buf_short, 0, size); in cache_config_descriptors()921 cd_buf_short.req.ConnectionIndex = (ULONG)priv->port; in cache_config_descriptors()922 cd_buf_short.req.SetupPacket.bmRequest = LIBUSB_ENDPOINT_IN; in cache_config_descriptors()923 cd_buf_short.req.SetupPacket.bRequest = USB_REQUEST_GET_DESCRIPTOR; in cache_config_descriptors()924 cd_buf_short.req.SetupPacket.wValue = (USB_CONFIGURATION_DESCRIPTOR_TYPE << 8) | i; in cache_config_descriptors()925 cd_buf_short.req.SetupPacket.wIndex = 0; in cache_config_descriptors()926 cd_buf_short.req.SetupPacket.wLength = (USHORT)(size - sizeof(USB_DESCRIPTOR_REQUEST)); in cache_config_descriptors()931 …if (!DeviceIoControl(hub_handle, IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION, &cd_buf_short, siz… in cache_config_descriptors()932 &cd_buf_short, size, &ret_size, NULL)) { in cache_config_descriptors()[all …]