Searched refs:endpoint_in (Results 1 – 1 of 1) sorted by relevance
/third_party/libusb/examples/ |
D | xusb.c | 419 static void get_sense(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_out) in get_sense() argument 435 …rc = libusb_bulk_transfer(handle, endpoint_in, (unsigned char*)&sense, REQUEST_SENSE_LENGTH, &size… in get_sense() 451 get_mass_storage_status(handle, endpoint_in, expected_tag); in get_sense() 455 static int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_ou… in test_mass_storage() argument 488 …CALL_CHECK(libusb_bulk_transfer(handle, endpoint_in, (unsigned char*)&buffer, INQUIRY_LENGTH, &siz… in test_mass_storage() 500 if (get_mass_storage_status(handle, endpoint_in, expected_tag) == -2) { in test_mass_storage() 501 get_sense(handle, endpoint_in, endpoint_out); in test_mass_storage() 511 …CALL_CHECK(libusb_bulk_transfer(handle, endpoint_in, (unsigned char*)&buffer, READ_CAPACITY_LENGTH… in test_mass_storage() 517 if (get_mass_storage_status(handle, endpoint_in, expected_tag) == -2) { in test_mass_storage() 518 get_sense(handle, endpoint_in, endpoint_out); in test_mass_storage() [all …]
|