Home | History | Annotate | Download | only in examples

Lines Matching full:endpoint_out

418 static void get_sense(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_out)
433 send_mass_storage_command(handle, endpoint_out, 0, cdb, LIBUSB_ENDPOINT_IN, REQUEST_SENSE_LENGTH, &expected_tag);
454 static int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_out)
486 send_mass_storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, INQUIRY_LENGTH, &expected_tag);
500 get_sense(handle, endpoint_in, endpoint_out);
509 send_mass_storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, READ_CAPACITY_LENGTH, &expected_tag);
517 get_sense(handle, endpoint_in, endpoint_out);
534 send_mass_storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, block_size, &expected_tag);
538 get_sense(handle, endpoint_in, endpoint_out);
811 uint8_t endpoint_in = 0, endpoint_out = 0; // default IN and OUT endpoints
896 if (!endpoint_out)
897 endpoint_out = endpoint->bEndpointAddress;
955 CALL_CHECK(test_mass_storage(handle, endpoint_in, endpoint_out));