Lines Matching refs:dwc2_writel
47 dwc2_writel(hsotg, 0xffffffff, GOTGINT); in dwc2_enable_common_interrupts()
50 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_enable_common_interrupts()
66 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts()
98 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init()
131 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init()
162 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts()
163 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts()
171 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
186 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
271 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos()
282 dwc2_writel(hsotg, nptxfsiz, GNPTXFSIZ); in dwc2_config_fifos()
294 dwc2_writel(hsotg, hptxfsiz, HPTXFSIZ); in dwc2_config_fifos()
312 dwc2_writel(hsotg, dfifocfg, GDFIFOCFG); in dwc2_config_fifos()
568 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
605 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
628 dwc2_writel(hsotg, intmsk, HAINTMSK); in dwc2_hc_enable_ints()
635 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_hc_enable_ints()
664 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
681 dwc2_writel(hsotg, hcchar, HCCHAR(hc_num)); in dwc2_hc_init()
735 dwc2_writel(hsotg, hcsplt, HCSPLT(hc_num)); in dwc2_hc_init()
805 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
812 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
893 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
942 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
945 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1116 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1122 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1151 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1156 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1317 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1345 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1357 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1379 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1437 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1442 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1467 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1532 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1656 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1681 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1694 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1756 dwc2_writel(hsotg, intr, GINTMSK); in dwc2_hcd_disconnect()
1758 dwc2_writel(hsotg, intr, GINTSTS); in dwc2_hcd_disconnect()
1768 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
1840 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2060 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_init()
2096 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_init()
2145 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_host_init()
2148 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
2156 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2167 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init()
2186 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2197 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2206 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2220 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2230 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2257 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_core_host_init()
2951 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
2964 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3075 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3086 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3126 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_hcd_queue_transactions()
3236 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_wakeup_detected()
3279 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_port_suspend()
3317 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3415 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3432 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3598 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hcd_hub_control()
3644 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3676 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control()
3678 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_hcd_hub_control()
3694 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3702 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3718 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
4215 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_reset_func()
4507 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
5062 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_hcd_free()
5063 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_hcd_free()
5068 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
5444 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_host_registers()
5445 dwc2_writel(hsotg, hr->haintmsk, HAINTMSK); in dwc2_restore_host_registers()
5448 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()
5450 dwc2_writel(hsotg, hr->hprt0, HPRT0); in dwc2_restore_host_registers()
5451 dwc2_writel(hsotg, hr->hfir, HFIR); in dwc2_restore_host_registers()
5452 dwc2_writel(hsotg, hr->hptxfsiz, HPTXFSIZ); in dwc2_restore_host_registers()
5490 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_hibernation()
5509 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5514 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5520 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5525 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5532 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5540 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5546 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5552 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5600 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5605 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5609 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
5610 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_host_exit_hibernation()
5615 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5622 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5631 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5636 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5639 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5644 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5651 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5656 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5731 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_partial_power_down()
5757 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_enter_partial_power_down()
5763 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5767 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5771 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5806 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5811 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5816 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5839 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5846 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5853 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5887 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_clock_gating()
5892 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_enter_clock_gating()
5898 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_enter_clock_gating()
5923 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_exit_clock_gating()
5929 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_exit_clock_gating()
5936 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_clock_gating()
5946 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_clock_gating()