Home
last modified time | relevance | path

Searched refs:libusb_transfer (Results 1 – 20 of 20) sorted by relevance

/external/libusb/libusb/
Dlibusb.h697 struct libusb_transfer;
708 typedef void (*libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
716 struct libusb_transfer { struct
834 struct libusb_transfer *transfer) in libusb_control_transfer_get_data()
852 struct libusb_transfer *transfer) in libusb_control_transfer_get_setup()
891 struct libusb_transfer *libusb_alloc_transfer(int iso_packets);
892 int libusb_submit_transfer(struct libusb_transfer *transfer);
893 int libusb_cancel_transfer(struct libusb_transfer *transfer);
894 void libusb_free_transfer(struct libusb_transfer *transfer);
924 struct libusb_transfer *transfer, libusb_device_handle *dev_handle, in libusb_fill_control_transfer()
[all …]
Dsync.c36 static void ctrl_transfer_cb(struct libusb_transfer *transfer) in ctrl_transfer_cb()
76 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in libusb_control_transfer()
145 static void bulk_transfer_cb(struct libusb_transfer *transfer) in bulk_transfer_cb()
157 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in do_sync_bulk_transfer()
Dio.c1159 API_EXPORTED struct libusb_transfer *libusb_alloc_transfer(int iso_packets) in libusb_alloc_transfer()
1164 + sizeof(struct libusb_transfer) in libusb_alloc_transfer()
1194 API_EXPORTED void libusb_free_transfer(struct libusb_transfer *transfer) in libusb_free_transfer()
1218 API_EXPORTED int libusb_submit_transfer(struct libusb_transfer *transfer) in libusb_submit_transfer()
1274 API_EXPORTED int libusb_cancel_transfer(struct libusb_transfer *transfer) in libusb_cancel_transfer()
1359 struct libusb_transfer *transfer = in usbi_handle_transfer_completion()
1675 struct libusb_transfer *transfer = in handle_timeout()
Dlibusbi.h269 ((struct libusb_transfer *)(((void *)(transfer)) \
278 + sizeof(struct libusb_transfer) in usbi_transfer_get_os_priv()
/external/chromium_org/third_party/libusb/src/libusb/
Dlibusb.h1191 struct libusb_transfer;
1202 typedef void (LIBUSB_CALL *libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
1210 struct libusb_transfer { struct
1417 struct libusb_transfer *transfer) in libusb_control_transfer_get_data()
1435 struct libusb_transfer *transfer) in libusb_control_transfer_get_setup()
1475 struct libusb_transfer * LIBUSB_CALL libusb_alloc_transfer(int iso_packets);
1476 int LIBUSB_CALL libusb_submit_transfer(struct libusb_transfer *transfer);
1477 int LIBUSB_CALL libusb_cancel_transfer(struct libusb_transfer *transfer);
1478 void LIBUSB_CALL libusb_free_transfer(struct libusb_transfer *transfer);
1509 struct libusb_transfer *transfer, libusb_device_handle *dev_handle, in libusb_fill_control_transfer()
[all …]
Dsync.c36 static void LIBUSB_CALL sync_transfer_cb(struct libusb_transfer *transfer) in sync_transfer_cb()
44 static void sync_transfer_wait_for_completion(struct libusb_transfer *transfer) in sync_transfer_wait_for_completion()
94 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in libusb_control_transfer()
162 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in do_sync_bulk_transfer()
Dio.c1317 struct libusb_transfer * LIBUSB_CALL libusb_alloc_transfer( in libusb_alloc_transfer()
1323 + sizeof(struct libusb_transfer) in libusb_alloc_transfer()
1352 void API_EXPORTED libusb_free_transfer(struct libusb_transfer *transfer) in libusb_free_transfer()
1434 int API_EXPORTED libusb_submit_transfer(struct libusb_transfer *transfer) in libusb_submit_transfer()
1486 int API_EXPORTED libusb_cancel_transfer(struct libusb_transfer *transfer) in libusb_cancel_transfer()
1524 struct libusb_transfer *transfer = in usbi_handle_transfer_completion()
1839 struct libusb_transfer *transfer = in handle_timeout()
Dlibusbi.h390 ((struct libusb_transfer *)(((unsigned char *)(transfer)) \
399 + sizeof(struct libusb_transfer) in usbi_transfer_get_os_priv()
Dcore.c1196 struct libusb_transfer *transfer = in do_close()
/external/libusb/examples/
Ddpfp.c63 static struct libusb_transfer *img_transfer = NULL;
64 static struct libusb_transfer *irq_transfer = NULL;
152 static void cb_mode_changed(struct libusb_transfer *transfer) in cb_mode_changed()
168 struct libusb_transfer *transfer; in set_mode_async()
279 static void cb_irq(struct libusb_transfer *transfer) in cb_irq()
318 static void cb_img(struct libusb_transfer *transfer) in cb_img()
Ddpfp_threaded.c64 static struct libusb_transfer *img_transfer = NULL;
65 static struct libusb_transfer *irq_transfer = NULL;
181 static void cb_mode_changed(struct libusb_transfer *transfer) in cb_mode_changed()
197 struct libusb_transfer *transfer; in set_mode_async()
308 static void cb_irq(struct libusb_transfer *transfer) in cb_irq()
346 static void cb_img(struct libusb_transfer *transfer) in cb_img()
/external/libusb/libusb/os/
Dlinux_usbfs.c1338 struct libusb_transfer *transfer = in submit_bulk_transfer()
1453 struct libusb_transfer *transfer = in submit_iso_transfer()
1611 struct libusb_transfer *transfer = in submit_control_transfer()
1653 struct libusb_transfer *transfer = in op_submit_transfer()
1675 struct libusb_transfer *transfer = in cancel_control_transfer()
1703 struct libusb_transfer *transfer = in cancel_bulk_transfer()
1725 struct libusb_transfer *transfer = in cancel_iso_transfer()
1746 struct libusb_transfer *transfer = in op_cancel_transfer()
1766 struct libusb_transfer *transfer = in op_clear_transfer_priv()
1821 struct libusb_transfer *transfer = in handle_bulk_completion()
[all …]
Ddarwin_usb.c1073 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer()
1127 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_iso_transfer()
1195 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_control_transfer()
1226 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_submit_transfer()
1243 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in cancel_control_transfer()
1255 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_abort_transfers()
1288 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_cancel_transfer()
1304 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_clear_transfer_priv()
1315 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_async_io_callback()
1351 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_handle_callback()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dopenbsd_usb.c88 static int _access_endpoint(struct libusb_transfer *);
474 struct libusb_transfer *transfer; in obsd_submit_transfer()
682 struct libusb_transfer *transfer; in _sync_control_transfer()
742 _access_endpoint(struct libusb_transfer *transfer) in _access_endpoint()
777 struct libusb_transfer *transfer; in _sync_gen_transfer()
Dwindows_usb.c719 static int auto_claim(struct libusb_transfer *transfer, int *interface_number, int api_type) in auto_claim()
772 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in auto_release()
1931 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer()
1951 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_iso_transfer()
1971 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_control_transfer()
1991 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_submit_transfer()
2012 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_abort_control()
2020 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_abort_transfers()
2028 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_cancel_transfer()
2045 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_transfer_callback()
[all …]
Ddarwin_usb.c1431 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer()
1494 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_iso_transfer()
1584 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_control_transfer()
1634 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_submit_transfer()
1651 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in cancel_control_transfer()
1666 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_abort_transfers()
1698 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_cancel_transfer()
1714 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_clear_transfer_priv()
1725 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_async_io_callback()
1774 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in darwin_handle_callback()
Dwince_usb.c607 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in wince_cancel_transfer()
619 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in wince_submit_control_or_bulk_transfer()
684 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in wince_submit_transfer()
701 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in wince_transfer_callback()
796 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in wince_handle_callback()
Dlinux_usbfs.c1641 struct libusb_transfer *transfer = in discard_urbs()
1692 struct libusb_transfer *transfer = in submit_bulk_transfer()
1857 struct libusb_transfer *transfer = in submit_iso_transfer()
2012 struct libusb_transfer *transfer = in submit_control_transfer()
2054 struct libusb_transfer *transfer = in op_submit_transfer()
2076 struct libusb_transfer *transfer = in op_cancel_transfer()
2103 struct libusb_transfer *transfer = in op_clear_transfer_priv()
2134 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in handle_bulk_completion()
2269 struct libusb_transfer *transfer = in handle_iso_completion()
2455 struct libusb_transfer *transfer; in reap_for_handle()
/external/chromium_org/device/usb/
Dusb_device_handle_impl.h31 typedef libusb_transfer* PlatformUsbTransferHandle;
/external/libusb/
DChangeLog1604 libusb_transfer is now a kind of transfer handle. To reduce confusion