Lines Matching refs:libusb20_transfer
176 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);
214 uint32_t libusb20_tr_get_max_packet_length(struct libusb20_transfer *xfer);
215 uint32_t libusb20_tr_get_max_total_length(struct libusb20_transfer *xfer);
216 uint8_t libusb20_tr_get_status(struct libusb20_transfer *xfer);
217 uint8_t libusb20_tr_pending(struct libusb20_transfer *xfer);
218 void libusb20_tr_callback_wrapper(struct libusb20_transfer *xfer);
219 void libusb20_tr_clear_stall_sync(struct libusb20_transfer *xfer);
220 void libusb20_tr_drain(struct libusb20_transfer *xfer);
221 void libusb20_tr_set_buffer(struct libusb20_transfer *xfer, void *buffer, uint16_t fr_index);
222 void libusb20_tr_set_callback(struct libusb20_transfer *xfer, libusb20_tr_callback_t *cb);
223 void libusb20_tr_set_flags(struct libusb20_transfer *xfer, uint8_t flags);
224 uint32_t libusb20_tr_get_length(struct libusb20_transfer *xfer, uint16_t fr_index);
225 void libusb20_tr_set_length(struct libusb20_transfer *xfer, uint32_t length, uint16_t fr_index);
226 void libusb20_tr_set_priv_sc0(struct libusb20_transfer *xfer, void *sc0);
227 void libusb20_tr_set_priv_sc1(struct libusb20_transfer *xfer, void *sc1);
228 void libusb20_tr_set_timeout(struct libusb20_transfer *xfer, uint32_t timeout);
229 void libusb20_tr_set_total_frames(struct libusb20_transfer *xfer, uint32_t nFrames);
230 void libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t t…
231 void libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pbuf, uint32_t t…
232 void libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t t…
233 void libusb20_tr_setup_isoc(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint16_t f…
234 uint8_t libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uin…
235 void libusb20_tr_start(struct libusb20_transfer *xfer);
236 void libusb20_tr_stop(struct libusb20_transfer *xfer);
237 void libusb20_tr_submit(struct libusb20_transfer *xfer);
238 void *libusb20_tr_get_priv_sc0(struct libusb20_transfer *xfer);
239 void *libusb20_tr_get_priv_sc1(struct libusb20_transfer *xfer);