Searched refs:os_fd (Results 1 – 1 of 1) sorted by relevance
/external/libusb/examples/ |
D | xusb.c | 717 } os_fd[2] = { in read_ms_winsub_feature_descriptors() local 727 os_fd[1].recipient = LIBUSB_RECIPIENT_DEVICE; in read_ms_winsub_feature_descriptors() 730 printf("\nReading %s OS Feature Descriptor (wIndex = 0x%04d):\n", os_fd[i].desc, os_fd[i].index); in read_ms_winsub_feature_descriptors() 733 …r = libusb_control_transfer(handle, (uint8_t)(LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_VENDOR|os_fd[… in read_ms_winsub_feature_descriptors() 734 …bRequest, (uint16_t)(((iface_number)<< 8)|0x00), os_fd[i].index, os_desc, os_fd[i].header_size, 10… in read_ms_winsub_feature_descriptors() 735 if (r < os_fd[i].header_size) { in read_ms_winsub_feature_descriptors() 746 …r = libusb_control_transfer(handle, (uint8_t)(LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_VENDOR|os_fd[… in read_ms_winsub_feature_descriptors() 747 … bRequest, (uint16_t)(((iface_number)<< 8)|0x00), os_fd[i].index, os_desc, (uint16_t)length, 1000); in read_ms_winsub_feature_descriptors()
|