Lines Matching refs:dwc2_writel
78 dwc2_writel(hsotg, 0xffffffff, GOTGINT); in dwc2_enable_common_interrupts()
81 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_enable_common_interrupts()
97 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts()
129 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init()
166 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init()
197 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts()
198 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts()
206 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
221 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
306 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos()
317 dwc2_writel(hsotg, nptxfsiz, GNPTXFSIZ); in dwc2_config_fifos()
329 dwc2_writel(hsotg, hptxfsiz, HPTXFSIZ); in dwc2_config_fifos()
347 dwc2_writel(hsotg, dfifocfg, GDFIFOCFG); in dwc2_config_fifos()
603 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
640 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
663 dwc2_writel(hsotg, intmsk, HAINTMSK); in dwc2_hc_enable_ints()
670 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_hc_enable_ints()
699 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
716 dwc2_writel(hsotg, hcchar, HCCHAR(hc_num)); in dwc2_hc_init()
770 dwc2_writel(hsotg, hcsplt, HCSPLT(hc_num)); in dwc2_hc_init()
842 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
849 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
930 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
979 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
982 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1153 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1159 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1188 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1193 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1354 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1382 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1394 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1416 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1474 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1479 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1504 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1569 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1693 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1718 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1731 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1793 dwc2_writel(hsotg, intr, GINTMSK); in dwc2_hcd_disconnect()
1795 dwc2_writel(hsotg, intr, GINTSTS); in dwc2_hcd_disconnect()
1805 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
1879 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2099 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_init()
2135 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_init()
2184 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_host_init()
2187 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
2195 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2206 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init()
2225 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2236 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2245 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2259 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2269 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2296 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_core_host_init()
3005 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3018 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3129 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3140 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3180 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_hcd_queue_transactions()
3284 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_wakeup_detected()
3317 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_port_suspend()
3323 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_suspend()
3335 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3343 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3369 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_resume()
3378 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3386 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3431 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3452 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3618 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hcd_hub_control()
3666 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3680 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control()
3682 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_hcd_hub_control()
3698 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3706 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3722 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
4219 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_reset_func()
4361 dwc2_writel(hsotg, hprt0, HPRT0); in _dwc2_hcd_suspend()
4473 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
4999 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_hcd_free()
5000 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_hcd_free()
5005 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
5386 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_host_registers()
5387 dwc2_writel(hsotg, hr->haintmsk, HAINTMSK); in dwc2_restore_host_registers()
5390 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()
5392 dwc2_writel(hsotg, hr->hprt0, HPRT0); in dwc2_restore_host_registers()
5393 dwc2_writel(hsotg, hr->hfir, HFIR); in dwc2_restore_host_registers()
5394 dwc2_writel(hsotg, hr->hptxfsiz, HPTXFSIZ); in dwc2_restore_host_registers()
5432 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_hibernation()
5451 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5456 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5462 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5467 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5474 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5482 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5488 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5494 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5542 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5547 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5551 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
5552 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_host_exit_hibernation()
5557 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5564 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5573 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5578 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5581 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5586 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5593 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5598 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()