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);
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);
[all …]
Dusb_transfer.h107 struct usb_xfer *curr_xfer;
130 void usb_dma_delay_done_cb(struct usb_xfer *);
132 struct usb_xfer *xfer);
133 void usbd_pipe_enter(struct usb_xfer *xfer);
135 void usbd_transfer_dequeue(struct usb_xfer *xfer);
136 void usbd_transfer_done(struct usb_xfer *xfer, usb_error_t error);
138 struct usb_xfer *xfer);
148 void usbd_transfer_timeout_ms(struct usb_xfer *xfer,
151 void usbd_transfer_power_ref(struct usb_xfer *xfer, int val);
152 uint8_t usbd_xfer_get_isochronous_start_frame(struct usb_xfer *, uint32_t, uint32_t, uint32_t, uint…
Dusb_controller.h64 void (*xfer_unsetup) (struct usb_xfer *);
111 void (*xfer_stall) (struct usb_xfer *xfer);
140 void (*start_dma_delay) (struct usb_xfer *);
160 void (*open)(struct usb_xfer *);
161 void (*close)(struct usb_xfer *);
163 void (*enter)(struct usb_xfer *);
164 void (*start)(struct usb_xfer *);
197 uint8_t usbd_fs_isoc_schedule_alloc_slot(struct usb_xfer *isoc_xfer, uint16_t isoc_time);
Dusb_transfer.c102 static void usbd_update_max_frame_size(struct usb_xfer *);
104 static void usbd_control_transfer_init(struct usb_xfer *);
105 static int usbd_setup_ctrl_transfer(struct usb_xfer *);
107 static void usbd_callback_ss_done_defer(struct usb_xfer *);
110 static uint8_t usbd_callback_wrapper_sub(struct usb_xfer *);
118 usb_request_callback(struct usb_xfer *xfer, usb_error_t error) in usb_request_callback()
133 usbd_update_max_frame_size(struct usb_xfer *xfer) in usbd_update_max_frame_size()
328 struct usb_xfer *xfer = parm->curr_xfer; in usbd_transfer_setup_sub()
855 const uint8_t *ifaces, struct usb_xfer **ppxfer, in usbd_transfer_setup()
864 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()
109 usb_handle_set_config(struct usb_xfer *xfer, uint8_t conf_no) in usb_handle_set_config()
178 usb_handle_iface_request(struct usb_xfer *xfer, in usb_handle_iface_request()
342 usb_handle_set_stall(struct usb_xfer *xfer, uint8_t ep, uint8_t do_stall) in usb_handle_set_stall()
387 usb_handle_remote_wakeup(struct usb_xfer *xfer, uint8_t is_on) in usb_handle_remote_wakeup()
[all …]
Dusb_core.h76 struct usb_xfer;
130 struct usb_xfer { struct
132 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.h146 void usb_bdma_post_sync(struct usb_xfer *xfer);
147 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.c352 ugen_ctrl_read_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_ctrl_read_callback()
404 ugen_ctrl_write_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_ctrl_write_callback()
442 ugen_read_clear_stall_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_read_clear_stall_callback()
445 struct usb_xfer *xfer_other = f->xfer[0]; in ugen_read_clear_stall_callback()
459 ugen_write_clear_stall_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_write_clear_stall_callback()
462 struct usb_xfer *xfer_other = f->xfer[0]; in ugen_write_clear_stall_callback()
476 ugen_isoc_read_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_isoc_read_callback()
515 ugen_isoc_write_callback(struct usb_xfer *xfer, usb_error_t error) in ugen_isoc_write_callback()
940 struct usb_xfer *xfer = NULL; in ugen_fs_copy_in()
1145 struct usb_xfer *xfer = NULL; in ugen_fs_copy_out()
[all …]
Dusb_hub.c83 struct usb_xfer *sc_xfer[UHUB_N_TRANSFER]; /* interrupt xfer */
179 uhub_intr_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_intr_callback()
320 uhub_reset_tt_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_reset_tt_callback()
1983 usb_hs_bandwidth_alloc(struct usb_xfer *xfer) in usb_hs_bandwidth_alloc()
2064 usb_hs_bandwidth_free(struct usb_xfer *xfer) in usb_hs_bandwidth_free()
2146 usbd_fs_isoc_schedule_alloc_slot(struct usb_xfer *isoc_xfer, uint16_t isoc_time) in usbd_fs_isoc_schedule_alloc_slot()
2148 struct usb_xfer *xfer; in usbd_fs_isoc_schedule_alloc_slot()
2149 struct usb_xfer *pipe_xfer; in usbd_fs_isoc_schedule_alloc_slot()
2458 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 *);
848 ehci_transfer_intr_enqueue(struct usb_xfer *xfer) in ehci_transfer_intr_enqueue()
1018 ehci_data_toggle_update(struct usb_xfer *xfer, uint16_t actlen, uint16_t xlen) in ehci_data_toggle_update()
1040 ehci_non_isoc_done_sub(struct usb_xfer *xfer) in ehci_non_isoc_done_sub()
1137 ehci_non_isoc_done(struct usb_xfer *xfer) in ehci_non_isoc_done()
1193 ehci_check_transfer(struct usb_xfer *xfer) in ehci_check_transfer()
1348 struct usb_xfer *xfer; in ehci_interrupt_poll()
1463 struct usb_xfer *xfer = (struct usb_xfer *)ehci_arg; in ehci_timeout()
1687 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()
769 xhci_generic_done(struct usb_xfer *xfer) in xhci_generic_done()
807 xhci_activate_transfer(struct usb_xfer *xfer) in xhci_activate_transfer()
825 xhci_skip_transfer(struct usb_xfer *xfer) in xhci_skip_transfer()
903 struct usb_xfer *xfer; in xhci_check_transfer()
1644 struct usb_xfer *xfer = arg; in xhci_timeout()
1967 xhci_setup_generic_chain(struct usb_xfer *xfer) in xhci_setup_generic_chain()
2453 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 *,
1215 umass_tr_error(struct usb_xfer *xfer, usb_error_t error) in umass_tr_error()
1279 umass_t_bbb_reset1_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset1_callback()
1329 umass_t_bbb_reset2_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset2_callback()
1336 umass_t_bbb_reset3_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset3_callback()
1343 umass_t_bbb_data_clear_stall_callback(struct usb_xfer *xfer, in umass_t_bbb_data_clear_stall_callback()
1367 umass_t_bbb_command_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_command_callback()
1455 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.c688 cdce_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_write_callback()
853 cdce_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_read_callback()
932 cdce_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_read_callback()
965 cdce_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_write_callback()
1092 cdce_ncm_fill_tx_frames(struct usb_xfer *xfer, uint8_t index) in cdce_ncm_fill_tx_frames()
1234 cdce_ncm_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_write_callback()
1286 cdce_ncm_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_read_callback()
Dif_cdcereg.h101 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()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c79 struct usb_xfer *sc_xfer[UHID_N_TRANSFER];
139 uhid_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_write_callback()
195 uhid_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_read_callback()
252 uhid_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_write_callback()
313 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 *);
465 usb_unlink_bsd(struct usb_xfer *xfer, in usb_unlink_bsd()
1472 usb_linux_complete(struct usb_xfer *xfer) in usb_linux_complete()
1497 usb_linux_isoc_callback(struct usb_xfer *xfer, usb_error_t error) in usb_linux_isoc_callback()
1664 usb_linux_non_isoc_callback(struct usb_xfer *xfer, usb_error_t error) in usb_linux_non_isoc_callback()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c92 struct usb_xfer *sc_xfer[U3G_MAXPORTS][U3G_N_TRANSFER];
846 u3g_write_callback(struct usb_xfer *xfer, usb_error_t error) in u3g_write_callback()
899 u3g_read_callback(struct usb_xfer *xfer, usb_error_t error) in u3g_read_callback()
988 u3g_intr_callback(struct usb_xfer *xfer, usb_error_t error) in u3g_intr_callback()

12