Lines Matching refs:hsotg

312 	struct dwc2_hsotg *hsotg;  member
424 struct dwc2_hsotg *hsotg; member
429 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg);
432 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd() argument
434 return (struct usb_hcd *)hsotg->priv; in dwc2_hsotg_to_hcd()
444 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int() argument
446 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum)); in disable_hc_int()
449 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
452 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan);
453 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan,
455 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg,
462 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0() argument
464 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0()
525 int dwc2_hcd_init(struct dwc2_hsotg *hsotg);
526 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg);
530 struct dwc2_hsotg *hsotg);
531 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg,
536 struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg,
539 void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
540 int dwc2_hcd_qh_add(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
541 void dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
542 void dwc2_hcd_qh_deactivate(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
546 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
550 static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, in dwc2_hcd_qtd_unlink_and_free() argument
559 void dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg,
561 void dwc2_hcd_complete_xfer_ddma(struct dwc2_hsotg *hsotg,
565 int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
567 void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh);
663 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr() argument
665 return dwc2_readl(hsotg, GINTSTS) & in dwc2_read_core_intr()
666 dwc2_readl(hsotg, GINTMSK); in dwc2_read_core_intr()
705 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated() argument
716 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth() argument
729 void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg,
743 irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg);
750 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg);
758 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg);
768 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg);
777 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg,
781 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg,
783 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context);
784 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,