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