Searched defs:usb_handle (Results 1 – 4 of 4) sorted by relevance
38 struct usb_handle { struct39 usb_handle() {} in usb_handle() function45 int (*write)(usb_handle* h, const void* data, int len); argument46 int (*read)(usb_handle* h, void* data, int len, bool allow_partial); argument47 void (*close)(usb_handle* h); argument63 usb_handle* create_usb_handle(unsigned num_bufs, unsigned io_size); argument
56 struct usb_handle struct71 OsxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in OsxUsbTransport() argument
55 struct usb_handle { struct71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport() argument
88 struct usb_handle struct98 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in LinuxUsbTransport() argument