Lines Matching refs:dwc2_hsotg

354 	struct dwc2_hsotg *hsotg;
360 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd()
372 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int()
383 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode()
387 static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) in dwc2_is_device_mode()
396 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0()
454 extern int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq);
455 extern void dwc2_hcd_remove(struct dwc2_hsotg *hsotg);
459 struct dwc2_hsotg *hsotg);
460 extern void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg,
465 extern void dwc2_hcd_init_usecs(struct dwc2_hsotg *hsotg);
466 extern struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg,
469 extern void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
470 extern int dwc2_hcd_qh_add(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
471 extern void dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
472 extern void dwc2_hcd_qh_deactivate(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
476 extern int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
480 static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, in dwc2_hcd_qtd_unlink_and_free()
489 extern void dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg,
491 extern void dwc2_hcd_complete_xfer_ddma(struct dwc2_hsotg *hsotg,
495 extern int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
497 extern void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
581 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr()
623 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated()
634 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth()
647 extern void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg,
661 extern irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg);
668 extern void dwc2_hcd_stop(struct dwc2_hsotg *hsotg);
676 extern int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg);
686 extern void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg);
699 extern void dwc2_hcd_dump_frrem(struct dwc2_hsotg *hsotg);
709 extern void dwc2_host_start(struct dwc2_hsotg *hsotg);
710 extern void dwc2_host_disconnect(struct dwc2_hsotg *hsotg);
711 extern void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context,
713 extern int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context);
714 extern void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,