Lines Matching refs:dev_handle
72 API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle, in libusb_control_transfer() argument
95 libusb_fill_control_transfer(transfer, dev_handle, buffer, in libusb_control_transfer()
105 r = libusb_handle_events(HANDLE_CTX(dev_handle)); in libusb_control_transfer()
111 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0) in libusb_control_transfer()
136 usbi_warn(HANDLE_CTX(dev_handle), in libusb_control_transfer()
153 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, in do_sync_bulk_transfer() argument
164 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length, in do_sync_bulk_transfer()
175 r = libusb_handle_events(HANDLE_CTX(dev_handle)); in do_sync_bulk_transfer()
181 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0) in do_sync_bulk_transfer()
206 usbi_warn(HANDLE_CTX(dev_handle), in do_sync_bulk_transfer()
255 API_EXPORTED int libusb_bulk_transfer(struct libusb_device_handle *dev_handle, in libusb_bulk_transfer() argument
259 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_bulk_transfer()
305 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer() argument
308 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_interrupt_transfer()