Lines Matching defs:handle
153 int register_new_device(usb_handle* handle) { in register_new_device()
328 int usb_write(usb_handle* handle, const void* data, int len) { in usb_write()
385 int usb_read(usb_handle* handle, void* data, int len) { in usb_read()
434 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
452 void usb_reset(usb_handle* handle) { in usb_reset()
457 static void usb_kick_locked(usb_handle* handle) { in usb_kick_locked()
463 void usb_kick(usb_handle* handle) { in usb_kick()
473 int usb_close(usb_handle* handle) { in usb_close()
492 size_t usb_get_max_packet_size(usb_handle* handle) { in usb_get_max_packet_size()
496 int recognized_device(usb_handle* handle) { in recognized_device()
542 usb_handle* handle = nullptr; in find_devices() local