Searched refs:CALL_CHECK (Results 1 – 1 of 1) sorted by relevance
/external/libusb/examples/ |
D | xusb.c | 74 #define CALL_CHECK(fcall) do { r=fcall; if (r < 0) ERR_EXIT(r); } while (0); macro 194 …CALL_CHECK(libusb_control_transfer(handle, LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_REC… in display_ps3_status() 200 …CALL_CHECK(libusb_control_transfer(handle, LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_REC… in display_ps3_status() 207 …CALL_CHECK(libusb_control_transfer(handle, LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_REC… in display_ps3_status() 282 …CALL_CHECK(libusb_control_transfer(handle, LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_REC… in display_xbox_status() 310 …CALL_CHECK(libusb_control_transfer(handle, LIBUSB_ENDPOINT_OUT|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_RE… in set_xbox_actuators() 487 …CALL_CHECK(libusb_bulk_transfer(handle, endpoint_in, (unsigned char*)&buffer, INQUIRY_LENGTH, &siz… in test_mass_storage() 510 …CALL_CHECK(libusb_bulk_transfer(handle, endpoint_in, (unsigned char*)&buffer, READ_CAPACITY_LENGTH… in test_mass_storage() 840 CALL_CHECK(libusb_get_device_descriptor(dev, &dev_desc)); in test_device() 864 CALL_CHECK(libusb_get_config_descriptor(dev, 0, &conf_desc)); in test_device() [all …]
|