Home
last modified time | relevance | path

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

/external/libusb/examples/
Dxusb.c419 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 …]
/external/walt/android/WALT/app/src/main/jni/
Dsync_clock_jni.c35 jint endpoint_in in Java_org_chromium_latency_walt_WaltUsbConnection_syncClock__III() argument
38 clk.endpoint_in = (int)endpoint_in; in Java_org_chromium_latency_walt_WaltUsbConnection_syncClock__III()
Dsync_clock.h30 int endpoint_in; member
Dsync_clock_linux.c60 clk.endpoint_in = ep_in; in main()
Dsync_clock.c142 int ret = bulk_talk(clk->fd, clk->endpoint_in, clk->buffer, sizeof(clk->buffer)); in bulk_read()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltUsbConnection.java171 private native long syncClock(int fd, int endpoint_out, int endpoint_in); in syncClock() argument