Searched refs:should_use_libusb (Results 1 – 4 of 4) sorted by relevance
22 if (should_use_libusb()) { in usb_init()32 if (should_use_libusb()) { in usb_cleanup()40 return should_use_libusb() in usb_write()46 return should_use_libusb() in usb_read()52 return should_use_libusb() ? libusb::usb_close(reinterpret_cast<libusb::usb_handle*>(h)) in usb_close()57 should_use_libusb() ? libusb::usb_reset(reinterpret_cast<libusb::usb_handle*>(h)) in usb_reset()62 should_use_libusb() ? libusb::usb_kick(reinterpret_cast<libusb::usb_handle*>(h)) in usb_kick()67 return should_use_libusb() in usb_get_max_packet_size()
56 bool should_use_libusb();
205 bool should_use_libusb() { in should_use_libusb() function
1221 if (should_use_libusb()) { in handle_host_request()