/drivers/usb/dwc2/ |
D | core.c | 114 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_restore_global_registers() 115 dwc2_writel(hsotg, gr->gotgctl, GOTGCTL); in dwc2_restore_global_registers() 116 dwc2_writel(hsotg, gr->gintmsk, GINTMSK); in dwc2_restore_global_registers() 117 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_restore_global_registers() 118 dwc2_writel(hsotg, gr->gahbcfg, GAHBCFG); in dwc2_restore_global_registers() 119 dwc2_writel(hsotg, gr->grxfsiz, GRXFSIZ); in dwc2_restore_global_registers() 120 dwc2_writel(hsotg, gr->gnptxfsiz, GNPTXFSIZ); in dwc2_restore_global_registers() 121 dwc2_writel(hsotg, gr->gdfifocfg, GDFIFOCFG); in dwc2_restore_global_registers() 122 dwc2_writel(hsotg, gr->pcgcctl1, PCGCCTL1); in dwc2_restore_global_registers() 123 dwc2_writel(hsotg, gr->glpmcfg, GLPMCFG); in dwc2_restore_global_registers() [all …]
|
D | core_intr.c | 88 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr() 100 dwc2_writel(hsotg, GINTSTS_MODEMIS, GINTSTS); in dwc2_handle_mode_mismatch_intr() 155 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 170 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 202 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 218 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 246 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 261 dwc2_writel(hsotg, gotgint, GOTGINT); in dwc2_handle_otg_intr() 279 dwc2_writel(hsotg, GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_handle_conn_id_status_change_intr() 284 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_conn_id_status_change_intr() [all …]
|
D | hcd.c | 76 dwc2_writel(hsotg, 0xffffffff, GOTGINT); in dwc2_enable_common_interrupts() 79 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_enable_common_interrupts() 95 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts() 127 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init() 164 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init() 195 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts() 196 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts() 204 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts() 219 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts() 304 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos() [all …]
|
D | gadget.c | 54 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) | val, offset); in dwc2_set_bit() 59 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) & ~val, offset); in dwc2_clear_bit() 171 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_en_gsint() 188 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_disable_gsint() 218 dwc2_writel(hsotg, daint, DAINTMSK); in dwc2_hsotg_ctrl_epint() 323 dwc2_writel(hsotg, hsotg->params.g_rx_fifo_size, GRXFSIZ); in dwc2_hsotg_init_fifo() 324 dwc2_writel(hsotg, (hsotg->params.g_rx_fifo_size << in dwc2_hsotg_init_fifo() 353 dwc2_writel(hsotg, val, DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 357 dwc2_writel(hsotg, hsotg->hw_params.total_fifo_size | in dwc2_hsotg_init_fifo() 365 dwc2_writel(hsotg, GRSTCTL_TXFNUM(0x10) | GRSTCTL_TXFFLSH | in dwc2_hsotg_init_fifo() [all …]
|
D | drd.c | 27 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_init() 48 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_avalid() 67 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_bvalid() 179 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_suspend() 181 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_suspend() 191 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_resume() 194 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_resume()
|
D | hcd_intr.c | 147 dwc2_writel(hsotg, GINTSTS_SOF, GINTSTS); in dwc2_sof_intr() 281 dwc2_writel(hsotg, hfir, HFIR); in dwc2_hprt0_enable() 298 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 315 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 326 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 334 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 341 dwc2_writel(hsotg, *hprt0_modify, HPRT0); in dwc2_hprt0_enable() 377 dwc2_writel(hsotg, hprt0_modify | HPRT0_CONNDET, HPRT0); in dwc2_port_intr() 395 dwc2_writel(hsotg, hprt0_modify | HPRT0_ENACHG, HPRT0); in dwc2_port_intr() 411 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_port_intr() [all …]
|
D | platform.c | 575 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_driver_probe() 695 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend() 701 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_suspend() 738 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_resume() 748 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()
|
D | core.h | 1238 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) in dwc2_writel() function 1270 dwc2_writel(hsotg, *buf++, offset); in dwc2_writel_rep()
|
D | hcd_ddma.c | 195 dwc2_writel(hsotg, hsotg->frame_list_dma, HFLBADDR); in dwc2_per_sched_enable() 200 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable() 221 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_disable()
|
D | hcd.h | 478 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
|
D | hcd_queue.c | 1759 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add() 1800 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()
|