Lines Matching refs:dwc2_writel

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()
160 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init()
191 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts()
192 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts()
200 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
215 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
300 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos()
311 dwc2_writel(hsotg, nptxfsiz, GNPTXFSIZ); in dwc2_config_fifos()
323 dwc2_writel(hsotg, hptxfsiz, HPTXFSIZ); in dwc2_config_fifos()
341 dwc2_writel(hsotg, dfifocfg, GDFIFOCFG); in dwc2_config_fifos()
597 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
634 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
657 dwc2_writel(hsotg, intmsk, HAINTMSK); in dwc2_hc_enable_ints()
664 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_hc_enable_ints()
693 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
710 dwc2_writel(hsotg, hcchar, HCCHAR(hc_num)); in dwc2_hc_init()
764 dwc2_writel(hsotg, hcsplt, HCSPLT(hc_num)); in dwc2_hc_init()
834 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
841 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
922 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
971 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
974 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1145 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1151 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1180 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1185 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1346 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1374 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1386 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1408 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1466 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1471 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1496 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1561 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1685 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1710 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1723 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1785 dwc2_writel(hsotg, intr, GINTMSK); in dwc2_hcd_disconnect()
1787 dwc2_writel(hsotg, intr, GINTSTS); in dwc2_hcd_disconnect()
1797 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
1869 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2089 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_init()
2125 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_init()
2174 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_host_init()
2177 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
2185 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2196 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init()
2215 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2226 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2235 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2249 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2259 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2286 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_core_host_init()
2980 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
2993 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3104 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3115 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3155 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_hcd_queue_transactions()
3265 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_wakeup_detected()
3308 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_port_suspend()
3346 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3444 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3461 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3627 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hcd_hub_control()
3673 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3705 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control()
3707 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_hcd_hub_control()
3723 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3731 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3747 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
4244 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_reset_func()
4535 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
5090 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_hcd_free()
5091 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_hcd_free()
5096 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
5470 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_host_registers()
5471 dwc2_writel(hsotg, hr->haintmsk, HAINTMSK); in dwc2_restore_host_registers()
5474 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()
5476 dwc2_writel(hsotg, hr->hprt0, HPRT0); in dwc2_restore_host_registers()
5477 dwc2_writel(hsotg, hr->hfir, HFIR); in dwc2_restore_host_registers()
5478 dwc2_writel(hsotg, hr->hptxfsiz, HPTXFSIZ); in dwc2_restore_host_registers()
5516 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_hibernation()
5535 dwc2_writel(hsotg, pcgcctl, PCGCTL); 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()
5551 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5558 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5566 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5572 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5578 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5626 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5631 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5635 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
5636 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_host_exit_hibernation()
5641 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5648 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5657 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5662 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5665 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5670 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5677 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5682 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5757 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_partial_power_down()
5783 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_enter_partial_power_down()
5789 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5793 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5797 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_partial_power_down()
5832 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5837 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5842 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_exit_partial_power_down()
5865 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5872 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5879 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_partial_power_down()
5913 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_clock_gating()
5918 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_enter_clock_gating()
5924 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_enter_clock_gating()
5949 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_exit_clock_gating()
5955 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_host_exit_clock_gating()
5962 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_clock_gating()
5972 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_clock_gating()