Lines Matching refs:dwc2_writel
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()
124 dwc2_writel(hsotg, gr->pcgcctl, PCGCTL); in dwc2_restore_global_registers()
125 dwc2_writel(hsotg, gr->gi2cctl, GI2CCTL); in dwc2_restore_global_registers()
200 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
203 dwc2_writel(hsotg, gr->gahbcfg | GAHBCFG_GLBL_INTR_EN, GAHBCFG); in dwc2_restore_essential_regs()
206 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_restore_essential_regs()
209 dwc2_writel(hsotg, GINTSTS_RESTOREDONE, GINTMSK); in dwc2_restore_essential_regs()
212 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_restore_essential_regs()
215 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
218 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
222 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
225 dwc2_writel(hsotg, dr->dcfg, DCFG); in dwc2_restore_essential_regs()
228 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
232 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
252 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
258 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
264 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
270 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
279 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
285 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
307 dwc2_writel(hsotg, GINTSTS_RESTOREDONE, GINTSTS); in dwc2_hib_restore_common()
453 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
473 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
563 dwc2_writel(hsotg, gusbcfg, GUSBCFG); in dwc2_force_mode()
592 dwc2_writel(hsotg, gusbcfg, GUSBCFG); in dwc2_clear_force_mode()
636 dwc2_writel(hsotg, pcgcctl1, PCGCCTL1); in dwc2_enable_acg()
825 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_flush_tx_fifo()
852 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_flush_rx_fifo()
882 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_enable_global_interrupts()
896 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_disable_global_interrupts()
1005 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_init_fs_ls_pclk_sel()
1023 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init()
1044 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_fs_phy_init()
1063 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init()
1070 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init()
1072 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init()
1121 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hs_phy_init()
1150 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_set_turnaround_time()
1182 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_phy_init()
1187 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_phy_init()