Searched defs:usb_handle (Results 1 – 4 of 4) sorted by relevance
44 struct usb_handle { struct49 int (*write)(usb_handle* h, const void* data, int len); argument50 int (*read)(usb_handle* h, void* data, int len, bool allow_partial); argument51 void (*close)(usb_handle* h); argument68 std::unique_ptr<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