Home
last modified time | relevance | path

Searched refs:libusb20_transfer (Results 1 – 11 of 11) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb20.h176 struct libusb20_transfer;
185 typedef void (libusb20_tr_callback_t)(struct libusb20_transfer *xfer);
206 int libusb20_tr_close(struct libusb20_transfer *xfer);
207 int libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_coun…
208 int libusb20_tr_open_stream(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_fra…
209 struct libusb20_transfer *libusb20_tr_get_pointer(struct libusb20_device *pdev, uint16_t tr_index);
210 uint16_t libusb20_tr_get_time_complete(struct libusb20_transfer *xfer);
211 uint32_t libusb20_tr_get_actual_frames(struct libusb20_transfer *xfer);
212 uint32_t libusb20_tr_get_actual_length(struct libusb20_transfer *xfer);
213 uint32_t libusb20_tr_get_max_frames(struct libusb20_transfer *xfer);
[all …]
H A Dlibusb20.c57 dummy_callback(struct libusb20_transfer *xfer) in dummy_callback()
99 libusb20_tr_callback_wrapper(struct libusb20_transfer *xfer) in libusb20_tr_callback_wrapper()
127 libusb20_tr_close(struct libusb20_transfer *xfer) in libusb20_tr_close()
162 libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, in libusb20_tr_open()
169 libusb20_tr_open_stream(struct libusb20_transfer *xfer, uint32_t MaxBufSize, in libusb20_tr_open_stream()
227 struct libusb20_transfer *
237 libusb20_tr_get_actual_frames(struct libusb20_transfer *xfer) in libusb20_tr_get_actual_frames()
243 libusb20_tr_get_time_complete(struct libusb20_transfer *xfer) in libusb20_tr_get_time_complete()
249 libusb20_tr_get_actual_length(struct libusb20_transfer *xfer) in libusb20_tr_get_actual_length()
261 libusb20_tr_get_max_frames(struct libusb20_transfer *xfer) in libusb20_tr_get_max_frames()
[all …]
H A Dlibusb20_int.h37 struct libusb20_transfer;
111 typedef int (libusb20_tr_open_t)(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxF…
112 typedef int (libusb20_tr_close_t)(struct libusb20_transfer *xfer);
113 typedef int (libusb20_tr_clear_stall_sync_t)(struct libusb20_transfer *xfer);
114 typedef void (libusb20_tr_submit_t)(struct libusb20_transfer *xfer);
115 typedef void (libusb20_tr_cancel_async_t)(struct libusb20_transfer *xfer);
147 struct libusb20_transfer { struct
197 struct libusb20_transfer *pTransfer; argument
H A Dlibusb10.c63 static struct libusb20_transfer *libusb10_get_transfer(struct libusb20_device *, uint8_t, uint8_t);
66 static void libusb10_complete_transfer(struct libusb20_transfer *, struct libusb_super_transfer *, …
67 static void libusb10_isoc_proxy(struct libusb20_transfer *);
68 static void libusb10_bulk_intr_proxy(struct libusb20_transfer *);
69 static void libusb10_ctrl_proxy(struct libusb20_transfer *);
815 static struct libusb20_transfer *
833 struct libusb20_transfer *xfer; in libusb_clear_halt()
1111 libusb10_complete_transfer(struct libusb20_transfer *pxfer, in libusb10_complete_transfer()
1137 libusb10_isoc_proxy(struct libusb20_transfer *pxfer) in libusb10_isoc_proxy()
1204 libusb10_bulk_intr_proxy(struct libusb20_transfer *pxfer) in libusb10_bulk_intr_proxy()
[all …]
H A Dlibusb20_ugen20.c751 struct libusb20_transfer *xfer; in ugen20_process()
797 ugen20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, in ugen20_tr_open()
844 ugen20_tr_close(struct libusb20_transfer *xfer) in ugen20_tr_close()
859 ugen20_tr_clear_stall_sync(struct libusb20_transfer *xfer) in ugen20_tr_clear_stall_sync()
876 ugen20_tr_submit(struct libusb20_transfer *xfer) in ugen20_tr_submit()
915 ugen20_tr_cancel_async(struct libusb20_transfer *xfer) in ugen20_tr_cancel_async()
H A Dlibusb01.c108 static struct libusb20_transfer *
112 struct libusb20_transfer *xfer; in usb_get_transfer_by_ep_no()
589 struct libusb20_transfer *xfer; in usb_std_io()
807 struct libusb20_transfer *xfer; in usb_clear_halt()
/freebsd/share/examples/libusb20/
H A Dbulk.c96 struct libusb20_transfer *xfr_out = libusb20_tr_get_pointer(dev, 0); in doit()
97 struct libusb20_transfer *xfr_in = libusb20_tr_get_pointer(dev, 1); in doit()
H A Dcontrol.c147 struct libusb20_transfer *xfr_intr = libusb20_tr_get_pointer(dev, 0); in doit()
/freebsd/tools/tools/usbtest/
H A Dusb_modem_test.c47 struct libusb20_transfer *xfer_in;
48 struct libusb20_transfer *xfer_out;
H A Dusb_msc_test.c99 static struct libusb20_transfer *xfer_in;
100 static struct libusb20_transfer *xfer_out;
155 struct libusb20_transfer *xfer_io; in do_msc_cmd()
H A Dusb_control_ep_test.c473 struct libusb20_transfer *pxfer; in usb_set_and_clear_stall_test()