Lines Matching refs:usb_xfer
32 struct usb_xfer;
94 typedef void (usb_callback_t)(struct usb_xfer *, usb_error_t);
123 TAILQ_HEAD(, usb_xfer) head;
124 struct usb_xfer *curr; /* current USB transfer processed */
537 uint8_t usbd_clear_stall_callback(struct usb_xfer *xfer1,
538 struct usb_xfer *xfer2);
544 const uint8_t *ifaces, struct usb_xfer **pxfer,
547 void usbd_transfer_submit(struct usb_xfer *xfer);
548 void usbd_transfer_clear_stall(struct usb_xfer *xfer);
549 void usbd_transfer_drain(struct usb_xfer *xfer);
550 uint8_t usbd_transfer_pending(struct usb_xfer *xfer);
551 void usbd_transfer_start(struct usb_xfer *xfer);
552 void usbd_transfer_stop(struct usb_xfer *xfer);
553 void usbd_transfer_unsetup(struct usb_xfer **pxfer, uint16_t n_setup);
554 void usbd_transfer_poll(struct usb_xfer **ppxfer, uint16_t max);
564 usbd_xfer_old_frame_length(struct usb_xfer *xfer, usb_frcount_t frindex);
565 void usbd_xfer_status(struct usb_xfer *xfer, int *actlen, int *sumlen,
567 struct usb_page_cache *usbd_xfer_get_frame(struct usb_xfer *, usb_frcount_t);
568 void *usbd_xfer_get_frame_buffer(struct usb_xfer *, usb_frcount_t);
569 void *usbd_xfer_softc(struct usb_xfer *xfer);
570 void *usbd_xfer_get_priv(struct usb_xfer *xfer);
571 void usbd_xfer_set_priv(struct usb_xfer *xfer, void *);
572 void usbd_xfer_set_interval(struct usb_xfer *xfer, int);
573 uint8_t usbd_xfer_state(struct usb_xfer *xfer);
574 void usbd_xfer_set_frame_data(struct usb_xfer *xfer, usb_frcount_t frindex,
576 void usbd_xfer_frame_data(struct usb_xfer *xfer, usb_frcount_t frindex,
578 void usbd_xfer_set_frame_offset(struct usb_xfer *xfer, usb_frlength_t offset,
580 usb_frlength_t usbd_xfer_max_len(struct usb_xfer *xfer);
581 usb_frlength_t usbd_xfer_max_framelen(struct usb_xfer *xfer);
582 usb_frcount_t usbd_xfer_max_frames(struct usb_xfer *xfer);
583 uint8_t usbd_xfer_get_fps_shift(struct usb_xfer *xfer);
584 usb_frlength_t usbd_xfer_frame_len(struct usb_xfer *xfer,
586 void usbd_xfer_set_frame_len(struct usb_xfer *xfer, usb_frcount_t frindex,
588 void usbd_xfer_set_timeout(struct usb_xfer *xfer, int timeout);
589 void usbd_xfer_set_frames(struct usb_xfer *xfer, usb_frcount_t n);
590 void usbd_xfer_set_stall(struct usb_xfer *xfer);
591 int usbd_xfer_is_stalled(struct usb_xfer *xfer);
592 void usbd_xfer_set_flag(struct usb_xfer *xfer, int flag);
593 void usbd_xfer_clr_flag(struct usb_xfer *xfer, int flag);
594 uint16_t usbd_xfer_get_timestamp(struct usb_xfer *xfer);
595 uint8_t usbd_xfer_maxp_was_clamped(struct usb_xfer *xfer);