Lines Matching refs:dev_handle
48 struct libusb_context *ctx = HANDLE_CTX(transfer->dev_handle); in sync_transfer_wait_for_completion()
94 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle, in libusb_control_transfer() argument
103 if (usbi_handling_events(HANDLE_CTX(dev_handle))) in libusb_control_transfer()
121 libusb_fill_control_transfer(transfer, dev_handle, buffer, in libusb_control_transfer()
157 usbi_warn(HANDLE_CTX(dev_handle), in libusb_control_transfer()
166 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, in do_sync_bulk_transfer() argument
174 if (usbi_handling_events(HANDLE_CTX(dev_handle))) in do_sync_bulk_transfer()
181 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length, in do_sync_bulk_transfer()
217 usbi_warn(HANDLE_CTX(dev_handle), in do_sync_bulk_transfer()
269 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle, in libusb_bulk_transfer() argument
273 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_bulk_transfer()
322 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer() argument
325 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_interrupt_transfer()