Home
last modified time | relevance | path

Searched refs:usb_xfer (Results 1 – 25 of 32) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
Dusbdi.h32 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);
[all …]
Dusb_transfer.h210 struct usb_xfer *curr_xfer;
233 void usb_dma_delay_done_cb(struct usb_xfer *);
235 struct usb_xfer *xfer);
236 void usbd_pipe_enter(struct usb_xfer *xfer);
238 void usbd_transfer_dequeue(struct usb_xfer *xfer);
239 void usbd_transfer_done(struct usb_xfer *xfer, usb_error_t error);
241 struct usb_xfer *xfer);
251 void usbd_transfer_timeout_ms(struct usb_xfer *xfer,
254 void usbd_transfer_power_ref(struct usb_xfer *xfer, int val);
Dusb_controller.h65 void (*xfer_unsetup) (struct usb_xfer *);
112 void (*xfer_stall) (struct usb_xfer *xfer);
141 void (*start_dma_delay) (struct usb_xfer *);
162 void (*open)(struct usb_xfer *);
163 void (*close)(struct usb_xfer *);
165 void (*enter)(struct usb_xfer *);
166 void (*start)(struct usb_xfer *);
199 uint8_t usbd_fs_isoc_schedule_alloc_slot(struct usb_xfer *isoc_xfer, uint16_t isoc_time);
Dusb_transfer.c104 static void usbd_update_max_frame_size(struct usb_xfer *);
106 static void usbd_control_transfer_init(struct usb_xfer *);
107 static int usbd_setup_ctrl_transfer(struct usb_xfer *);
109 static void usbd_callback_ss_done_defer(struct usb_xfer *);
112 static uint8_t usbd_callback_wrapper_sub(struct usb_xfer *);
120 usb_request_callback(struct usb_xfer *xfer, usb_error_t error) in usb_request_callback()
135 usbd_update_max_frame_size(struct usb_xfer *xfer) in usbd_update_max_frame_size()
332 struct usb_xfer *xfer = parm->curr_xfer; in usbd_transfer_setup_sub()
873 const uint8_t *ifaces, struct usb_xfer **ppxfer, in usbd_transfer_setup()
882 struct usb_xfer *xfer; in usbd_transfer_setup()
[all …]
Dusb_handle_request.c34 static usb_error_t usb_handle_remote_wakeup(struct usb_xfer *, uint8_t);
35 static usb_error_t usb_handle_request(struct usb_xfer *);
36 static usb_error_t usb_handle_set_config(struct usb_xfer *, uint8_t);
37 static usb_error_t usb_handle_set_stall(struct usb_xfer *, uint8_t,
39 static usb_error_t usb_handle_iface_request(struct usb_xfer *, void **,
50 usb_handle_request_callback(struct usb_xfer *xfer, usb_error_t error) in usb_handle_request_callback()
110 usb_handle_set_config(struct usb_xfer *xfer, uint8_t conf_no) in usb_handle_set_config()
179 usb_handle_iface_request(struct usb_xfer *xfer, in usb_handle_iface_request()
343 usb_handle_set_stall(struct usb_xfer *xfer, uint8_t ep, uint8_t do_stall) in usb_handle_set_stall()
388 usb_handle_remote_wakeup(struct usb_xfer *xfer, uint8_t is_on) in usb_handle_remote_wakeup()
[all …]
Dusb_core.h76 struct usb_xfer;
131 struct usb_xfer { struct
133 TAILQ_ENTRY(usb_xfer) wait_entry; /* used at various places */ argument
Dusb_debug.h76 struct usb_xfer;
82 void usb_dump_xfer(struct usb_xfer *xfer);
Dusb_hub.h68 void usb_hs_bandwidth_alloc(struct usb_xfer *xfer);
69 void usb_hs_bandwidth_free(struct usb_xfer *xfer);
Dusb_dev.h112 struct usb_xfer *xfer[2];
113 struct usb_xfer **fs_xfer;
Dusb_busdma.h147 void usb_bdma_post_sync(struct usb_xfer *xfer);
148 void usb_bdma_pre_sync(struct usb_xfer *xfer);
Dusb_device.h67 struct usb_xfer *bsd_xfer[2];
167 struct usb_xfer dummy;
216 struct usb_xfer *ctrl_xfer[USB_CTRL_XFER_MAX];
Dusb_debug.c92 struct usb_xfer *xfer; in usb_dump_queue()
134 usb_dump_xfer(struct usb_xfer *xfer) in usb_dump_xfer()
Dusb_generic.c355 ugen_ctrl_read_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_ctrl_read_callback()
407 ugen_ctrl_write_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_ctrl_write_callback()
445 ugen_read_clear_stall_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_read_clear_stall_callback()
448 struct usb_xfer *xfer_other = f->xfer[0]; in ugen_read_clear_stall_callback()
462 ugen_write_clear_stall_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_write_clear_stall_callback()
465 struct usb_xfer *xfer_other = f->xfer[0]; in ugen_write_clear_stall_callback()
479 ugen_isoc_read_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_isoc_read_callback()
518 ugen_isoc_write_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_isoc_write_callback()
995 struct usb_xfer *xfer = NULL; in ugen_fs_copy_in()
1203 struct usb_xfer *xfer = NULL; in ugen_fs_copy_out()
[all …]
Dusb_hub.c83 struct usb_xfer *sc_xfer[UHUB_N_TRANSFER]; /* interrupt xfer */
180 uhub_intr_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_intr_callback()
321 uhub_reset_tt_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_reset_tt_callback()
1989 usb_hs_bandwidth_alloc(struct usb_xfer *xfer) in usb_hs_bandwidth_alloc()
2070 usb_hs_bandwidth_free(struct usb_xfer *xfer) in usb_hs_bandwidth_free()
2152 usbd_fs_isoc_schedule_alloc_slot(struct usb_xfer *isoc_xfer, uint16_t isoc_time) in usbd_fs_isoc_schedule_alloc_slot()
2154 struct usb_xfer *xfer; in usbd_fs_isoc_schedule_alloc_slot()
2155 struct usb_xfer *pipe_xfer; in usbd_fs_isoc_schedule_alloc_slot()
2466 usbd_transfer_power_ref(struct usb_xfer *xfer, int val) in usbd_transfer_power_ref()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c85 static void ehci_device_done(struct usb_xfer *, usb_error_t);
86 static uint8_t ehci_check_transfer(struct usb_xfer *);
849 ehci_transfer_intr_enqueue(struct usb_xfer *xfer) in ehci_transfer_intr_enqueue()
1020 ehci_data_toggle_update(struct usb_xfer *xfer, uint16_t actlen, uint16_t xlen) in ehci_data_toggle_update()
1042 ehci_non_isoc_done_sub(struct usb_xfer *xfer) in ehci_non_isoc_done_sub()
1140 ehci_non_isoc_done(struct usb_xfer *xfer) in ehci_non_isoc_done()
1198 ehci_check_transfer(struct usb_xfer *xfer) in ehci_check_transfer()
1353 struct usb_xfer *xfer; in ehci_interrupt_poll()
1468 struct usb_xfer *xfer = (struct usb_xfer *)ehci_arg; in ehci_timeout()
1700 ehci_setup_standard_chain(struct usb_xfer *xfer, ehci_qh_t **qh_last) in ehci_setup_standard_chain()
[all …]
Dxhci.c102 static void xhci_device_done(struct usb_xfer *, usb_error_t);
117 static void xhci_endpoint_doorbell(struct usb_xfer *);
688 xhci_generic_done_sub(struct usb_xfer *xfer) in xhci_generic_done_sub()
770 xhci_generic_done(struct usb_xfer *xfer) in xhci_generic_done()
810 xhci_activate_transfer(struct usb_xfer *xfer) in xhci_activate_transfer()
828 xhci_skip_transfer(struct usb_xfer *xfer) in xhci_skip_transfer()
906 struct usb_xfer *xfer; in xhci_check_transfer()
1651 struct usb_xfer *xfer = arg; in xhci_timeout()
1979 xhci_setup_generic_chain(struct usb_xfer *xfer) in xhci_setup_generic_chain()
2472 xhci_configure_endpoint_by_xfer(struct usb_xfer *xfer) in xhci_configure_endpoint_by_xfer()
[all …]
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c432 struct usb_xfer *sc_xfer[UMASS_T_MAX];
515 static void umass_t_bbb_data_clear_stall_callback(struct usb_xfer *,
521 static void umass_t_cbi_data_clear_stall_callback(struct usb_xfer *,
1219 umass_tr_error(struct usb_xfer *xfer, usb_error_t error) in umass_tr_error()
1284 umass_t_bbb_reset1_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset1_callback()
1334 umass_t_bbb_reset2_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset2_callback()
1341 umass_t_bbb_reset3_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset3_callback()
1348 umass_t_bbb_data_clear_stall_callback(struct usb_xfer *xfer, in umass_t_bbb_data_clear_stall_callback()
1372 umass_t_bbb_command_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_command_callback()
1460 umass_t_bbb_data_callback(struct usb_xfer *xfer, usb_error_t error, in umass_t_bbb_data_callback()
[all …]
/third_party/FreeBSD/stand/usb/
Dusb_busdma_loader.c479 struct usb_xfer *xfer; in usb_bdma_work_loop()
620 usb_bdma_frame_num(struct usb_xfer *xfer) in usb_bdma_frame_num()
638 usb_bdma_pre_sync(struct usb_xfer *xfer) in usb_bdma_pre_sync()
664 usb_bdma_post_sync(struct usb_xfer *xfer) in usb_bdma_post_sync()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c695 cdce_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_write_callback()
860 cdce_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_read_callback()
940 cdce_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_read_callback()
973 cdce_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_write_callback()
1101 cdce_ncm_fill_tx_frames(struct usb_xfer *xfer, uint8_t index) in cdce_ncm_fill_tx_frames()
1244 cdce_ncm_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_write_callback()
1296 cdce_ncm_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_read_callback()
Dif_cdcereg.h99 struct usb_xfer *sc_xfer[CDCE_N_TRANSFER];
Dif_axgereg.h166 struct usb_xfer *sc_xfer[AXGE_N_TRANSFER];
Dif_urndis.c795 static int urndis_bulk_read(struct usb_xfer *xfer, struct urndis_packet_msg *msg, int offset) in urndis_bulk_read()
837 urndis_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_bulk_read_callback()
942 urndis_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_bulk_write_callback()
1018 urndis_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_intr_read_callback()
Dif_urndisreg.h61 struct usb_xfer *sc_xfer[URNDIS_N_TRANSFER];
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c78 struct usb_xfer *sc_xfer[UHID_N_TRANSFER];
136 uhid_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_write_callback()
192 uhid_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_read_callback()
249 uhid_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_write_callback()
310 uhid_read_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_read_callback()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c67 static void usb_linux_complete(struct usb_xfer *);
466 usb_unlink_bsd(struct usb_xfer *xfer, in usb_unlink_bsd()
1477 usb_linux_complete(struct usb_xfer *xfer) in usb_linux_complete()
1502 usb_linux_isoc_callback(struct usb_xfer *xfer, usb_error_t error) in usb_linux_isoc_callback()
1672 usb_linux_non_isoc_callback(struct usb_xfer *xfer, usb_error_t error) in usb_linux_non_isoc_callback()

12