Lines Matching defs:dev_handle
53 * \param dev_handle a handle for the device to communicate with
72 API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle,
95 libusb_fill_control_transfer(transfer, dev_handle, buffer,
105 r = libusb_handle_events(HANDLE_CTX(dev_handle));
111 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0)
136 usbi_warn(HANDLE_CTX(dev_handle),
153 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle,
164 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length,
175 r = libusb_handle_events(HANDLE_CTX(dev_handle));
181 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0)
206 usbi_warn(HANDLE_CTX(dev_handle),
234 * \param dev_handle a handle for the device to communicate with
255 API_EXPORTED int libusb_bulk_transfer(struct libusb_device_handle *dev_handle,
259 return do_sync_bulk_transfer(dev_handle, endpoint, data, length,
284 * \param dev_handle a handle for the device to communicate with
305 struct libusb_device_handle *dev_handle, unsigned char endpoint,
308 return do_sync_bulk_transfer(dev_handle, endpoint, data, length,