Lines Matching refs:dwc2_readl
46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers()
49 gr->gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_backup_global_registers()
50 gr->grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_backup_global_registers()
51 gr->gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_backup_global_registers()
52 gr->gdfifocfg = dwc2_readl(hsotg, GDFIFOCFG); in dwc2_backup_global_registers()
53 gr->pcgcctl1 = dwc2_readl(hsotg, PCGCCTL1); in dwc2_backup_global_registers()
54 gr->glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_backup_global_registers()
55 gr->gi2cctl = dwc2_readl(hsotg, GI2CCTL); in dwc2_backup_global_registers()
56 gr->pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_backup_global_registers()
220 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
226 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
232 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
238 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
247 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
253 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
335 ghwcfg4 = dwc2_readl(hsotg, GHWCFG4); in dwc2_iddig_filter_enabled()
343 gsnpsid = dwc2_readl(hsotg, GSNPSID); in dwc2_iddig_filter_enabled()
345 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_iddig_filter_enabled()
411 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_core_reset()
412 u32 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_core_reset()
421 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
440 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
526 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_force_mode()
559 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_clear_force_mode()
602 u32 pcgcctl1 = dwc2_readl(hsotg, PCGCCTL1); in dwc2_enable_acg()
627 (unsigned long)addr, dwc2_readl(hsotg, HCFG)); in dwc2_dump_host_registers()
630 (unsigned long)addr, dwc2_readl(hsotg, HFIR)); in dwc2_dump_host_registers()
633 (unsigned long)addr, dwc2_readl(hsotg, HFNUM)); in dwc2_dump_host_registers()
636 (unsigned long)addr, dwc2_readl(hsotg, HPTXSTS)); in dwc2_dump_host_registers()
639 (unsigned long)addr, dwc2_readl(hsotg, HAINT)); in dwc2_dump_host_registers()
642 (unsigned long)addr, dwc2_readl(hsotg, HAINTMSK)); in dwc2_dump_host_registers()
646 (unsigned long)addr, dwc2_readl(hsotg, HFLBADDR)); in dwc2_dump_host_registers()
651 (unsigned long)addr, dwc2_readl(hsotg, HPRT0)); in dwc2_dump_host_registers()
657 (unsigned long)addr, dwc2_readl(hsotg, HCCHAR(i))); in dwc2_dump_host_registers()
660 (unsigned long)addr, dwc2_readl(hsotg, HCSPLT(i))); in dwc2_dump_host_registers()
663 (unsigned long)addr, dwc2_readl(hsotg, HCINT(i))); in dwc2_dump_host_registers()
666 (unsigned long)addr, dwc2_readl(hsotg, HCINTMSK(i))); in dwc2_dump_host_registers()
669 (unsigned long)addr, dwc2_readl(hsotg, HCTSIZ(i))); in dwc2_dump_host_registers()
672 (unsigned long)addr, dwc2_readl(hsotg, HCDMA(i))); in dwc2_dump_host_registers()
676 (unsigned long)addr, dwc2_readl(hsotg, in dwc2_dump_host_registers()
699 (unsigned long)addr, dwc2_readl(hsotg, GOTGCTL)); in dwc2_dump_global_registers()
702 (unsigned long)addr, dwc2_readl(hsotg, GOTGINT)); in dwc2_dump_global_registers()
705 (unsigned long)addr, dwc2_readl(hsotg, GAHBCFG)); in dwc2_dump_global_registers()
708 (unsigned long)addr, dwc2_readl(hsotg, GUSBCFG)); in dwc2_dump_global_registers()
711 (unsigned long)addr, dwc2_readl(hsotg, GRSTCTL)); in dwc2_dump_global_registers()
714 (unsigned long)addr, dwc2_readl(hsotg, GINTSTS)); in dwc2_dump_global_registers()
717 (unsigned long)addr, dwc2_readl(hsotg, GINTMSK)); in dwc2_dump_global_registers()
720 (unsigned long)addr, dwc2_readl(hsotg, GRXSTSR)); in dwc2_dump_global_registers()
723 (unsigned long)addr, dwc2_readl(hsotg, GRXFSIZ)); in dwc2_dump_global_registers()
726 (unsigned long)addr, dwc2_readl(hsotg, GNPTXFSIZ)); in dwc2_dump_global_registers()
729 (unsigned long)addr, dwc2_readl(hsotg, GNPTXSTS)); in dwc2_dump_global_registers()
732 (unsigned long)addr, dwc2_readl(hsotg, GI2CCTL)); in dwc2_dump_global_registers()
735 (unsigned long)addr, dwc2_readl(hsotg, GPVNDCTL)); in dwc2_dump_global_registers()
738 (unsigned long)addr, dwc2_readl(hsotg, GGPIO)); in dwc2_dump_global_registers()
741 (unsigned long)addr, dwc2_readl(hsotg, GUID)); in dwc2_dump_global_registers()
744 (unsigned long)addr, dwc2_readl(hsotg, GSNPSID)); in dwc2_dump_global_registers()
747 (unsigned long)addr, dwc2_readl(hsotg, GHWCFG1)); in dwc2_dump_global_registers()
750 (unsigned long)addr, dwc2_readl(hsotg, GHWCFG2)); in dwc2_dump_global_registers()
753 (unsigned long)addr, dwc2_readl(hsotg, GHWCFG3)); in dwc2_dump_global_registers()
756 (unsigned long)addr, dwc2_readl(hsotg, GHWCFG4)); in dwc2_dump_global_registers()
759 (unsigned long)addr, dwc2_readl(hsotg, GLPMCFG)); in dwc2_dump_global_registers()
762 (unsigned long)addr, dwc2_readl(hsotg, GPWRDN)); in dwc2_dump_global_registers()
765 (unsigned long)addr, dwc2_readl(hsotg, GDFIFOCFG)); in dwc2_dump_global_registers()
768 (unsigned long)addr, dwc2_readl(hsotg, HPTXFSIZ)); in dwc2_dump_global_registers()
772 (unsigned long)addr, dwc2_readl(hsotg, PCGCTL)); in dwc2_dump_global_registers()
835 if (dwc2_readl(hsotg, GSNPSID) == 0xffffffff) in dwc2_is_controller_alive()
849 u32 ahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_enable_global_interrupts()
863 u32 ahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_disable_global_interrupts()
872 u32 ghwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_op_mode()
921 if (dwc2_readl(hsotg, offset) & mask) in dwc2_hsotg_wait_bit_set()
944 if (!(dwc2_readl(hsotg, offset) & mask)) in dwc2_hsotg_wait_bit_clear()
972 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_init_fs_ls_pclk_sel()
990 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init()
1006 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_fs_phy_init()
1031 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init()
1036 i2cctl = dwc2_readl(hsotg, GI2CCTL); in dwc2_fs_phy_init()
1056 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hs_phy_init()
1112 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_set_turnaround_time()
1150 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_phy_init()
1155 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_phy_init()