Searched refs:should_use_libusb (Results 1 – 4 of 4) sorted by relevance
21 if (should_use_libusb()) { in usb_init()31 if (should_use_libusb()) { in usb_cleanup()39 return should_use_libusb() in usb_write()45 return should_use_libusb() in usb_read()51 return should_use_libusb() ? libusb::usb_close(reinterpret_cast<libusb::usb_handle*>(h)) in usb_close()56 should_use_libusb() ? libusb::usb_reset(reinterpret_cast<libusb::usb_handle*>(h)) in usb_reset()61 should_use_libusb() ? libusb::usb_kick(reinterpret_cast<libusb::usb_handle*>(h)) in usb_kick()66 return should_use_libusb() in usb_get_max_packet_size()
64 bool should_use_libusb();
195 bool should_use_libusb() { in should_use_libusb() function
1146 if (should_use_libusb()) { in handle_host_request()