Searched refs:dwc2_hsotg (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/sys/external/bsd/dwc2/dist/
H A Ddwc2_core.h83 struct dwc2_hsotg;
129 struct dwc2_hsotg *parent;
179 struct dwc2_hsotg;
555 * struct dwc2_hsotg - Holds the state of the driver, including the non-periodic
695 struct dwc2_hsotg { struct
871 extern int dwc2_core_reset(struct dwc2_hsotg *hsotg);
872 extern int dwc2_core_reset_and_force_dr_mode(struct dwc2_hsotg *hsotg);
873 extern void dwc2_core_host_init(struct dwc2_hsotg *hsotg);
874 extern int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg);
875 extern int dwc2_exit_hibernation(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_hcd.h279 struct dwc2_hsotg *hsotg;
382 struct dwc2_hsotg *hsotg;
387 /* Gets the struct usb_hcd that contains a struct dwc2_hsotg */
388 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg)
400 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr)
412 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg)
470 extern int dwc2_hcd_init(struct dwc2_hsotg *hsotg);
471 extern void dwc2_hcd_remove(struct dwc2_hsotg *hsotg);
475 struct dwc2_hsotg *hsotg);
476 extern void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_coreintr.c69 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg)
95 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg)
110 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg)
125 static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg)
288 static void dwc2_handle_conn_id_status_change_intr(struct dwc2_hsotg *hsotg)
326 static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg)
359 static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg)
408 static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg)
428 static void dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg)
503 static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_hcdqueue.c66 static u32 dwc2_calc_bus_time(struct dwc2_hsotg *, int, int, int, int);
81 static void dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
220 struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg,
258 void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
290 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg)
328 static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg,
370 void dwc2_hcd_init_usecs(struct dwc2_hsotg *hsotg)
378 static int dwc2_find_single_uframe(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
397 static int dwc2_find_multi_uframe(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
453 static int dwc2_find_uframe(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_hcdddma.c97 static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
128 static void dwc2_desc_list_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
140 static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags)
164 static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg)
184 static void dwc2_per_sched_enable(struct dwc2_hsotg *hsotg, u32 fr_list_en)
208 static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg)
233 static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
295 static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg,
342 int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
388 void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_core.c77 static int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg)
105 static int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg)
134 static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg)
137 static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg)
150 static int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg)
202 static int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg)
245 static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg)
248 static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg)
259 static int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg)
289 static int dwc2_restore_global_registers(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_hcdintr.c74 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg)
104 static void dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg,
132 static void dwc2_sof_intr(struct dwc2_hsotg *hsotg)
172 static void dwc2_rx_fifo_level_intr(struct dwc2_hsotg *hsotg)
230 static void dwc2_np_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg)
242 static void dwc2_perio_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg)
249 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0,
346 static void dwc2_port_intr(struct dwc2_hsotg *hsotg)
431 static u32 dwc2_get_actual_xfer_length(struct dwc2_hsotg *hsotg,
479 static int dwc2_update_urb_state(struct dwc2_hsotg *hsot
[all...]
H A Ddwc2_hcd.c80 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg,
143 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg,
158 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg,
198 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg)
212 * @hsotg: Pointer to struct dwc2_hsotg
214 void dwc2_hcd_start(struct dwc2_hsotg *hsotg)
234 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg)
289 * @hsotg: Pointer to struct dwc2_hsotg
293 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg)
305 * @hsotg: Pointer to struct dwc2_hsotg
[all...]
/netbsd-current/sys/external/bsd/dwc2/
H A Ddwc2var.h37 struct dwc2_hsotg;
85 struct dwc2_hsotg *sc_hsotg;
116 void dwc2_host_complete(struct dwc2_hsotg *, struct dwc2_qtd *,
H A Ddwc2.c164 dwc2_allocate_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw,
170 dwc2_free_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw,
323 struct dwc2_hsotg *hsotg = sc->sc_hsotg;
437 struct dwc2_hsotg *hsotg = sc->sc_hsotg;
464 struct dwc2_hsotg *hsotg = sc->sc_hsotg;
894 struct dwc2_hsotg *hsotg = sc->sc_hsotg;
1138 struct dwc2_hsotg *hsotg;
1271 sc->sc_hsotg = kmem_zalloc(sizeof(struct dwc2_hsotg), KM_SLEEP);
1276 struct dwc2_hsotg *hsotg = sc->sc_hsotg;
1336 kmem_free(sc->sc_hsotg, sizeof(struct dwc2_hsotg));
[all...]

Completed in 121 milliseconds