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()
123 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_init_fs_ls_pclk_sel()
141 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init()
162 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_fs_phy_init()
181 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init()
188 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init()
190 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init()
239 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hs_phy_init()
279 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_phy_init()
284 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_phy_init()
319 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init()
356 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init()
393 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts()
394 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts()
402 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
417 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
502 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos()
513 dwc2_writel(hsotg, nptxfsiz, GNPTXFSIZ); in dwc2_config_fifos()
525 dwc2_writel(hsotg, hptxfsiz, HPTXFSIZ); in dwc2_config_fifos()
543 dwc2_writel(hsotg, dfifocfg, GDFIFOCFG); in dwc2_config_fifos()
799 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
836 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
859 dwc2_writel(hsotg, intmsk, HAINTMSK); in dwc2_hc_enable_ints()
866 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_hc_enable_ints()
895 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
912 dwc2_writel(hsotg, hcchar, HCCHAR(hc_num)); in dwc2_hc_init()
966 dwc2_writel(hsotg, hcsplt, HCSPLT(hc_num)); in dwc2_hc_init()
1036 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
1043 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
1124 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
1173 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
1176 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1350 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1356 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1385 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1390 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1550 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1578 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1590 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1612 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1670 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1675 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1700 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1765 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1889 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1914 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1927 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1989 dwc2_writel(hsotg, intr, GINTMSK); in dwc2_hcd_disconnect()
1991 dwc2_writel(hsotg, intr, GINTSTS); in dwc2_hcd_disconnect()
2001 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
2073 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2293 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_init()
2329 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_init()
2378 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_host_init()
2381 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
2389 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2400 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init()
2419 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2430 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2439 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2452 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2460 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2484 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_core_host_init()
3174 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3187 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3298 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3309 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3349 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_hcd_queue_transactions()
3450 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_wakeup_detected()
3483 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_port_suspend()
3489 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_suspend()
3501 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3509 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3535 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_resume()
3544 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3552 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3596 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3616 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3780 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hcd_hub_control()
3827 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3839 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control()
3841 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_hcd_hub_control()
3856 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3862 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3878 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
4374 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_reset_func()
4484 dwc2_writel(hsotg, hprt0, HPRT0); in _dwc2_hcd_suspend()
4575 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
5100 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_hcd_free()
5101 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_hcd_free()
5106 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
5475 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_host_registers()
5476 dwc2_writel(hsotg, hr->haintmsk, HAINTMSK); in dwc2_restore_host_registers()
5479 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()
5481 dwc2_writel(hsotg, hr->hprt0, HPRT0); in dwc2_restore_host_registers()
5482 dwc2_writel(hsotg, hr->hfir, HFIR); in dwc2_restore_host_registers()
5483 dwc2_writel(hsotg, hr->hptxfsiz, HPTXFSIZ); in dwc2_restore_host_registers()
5521 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_hibernation()
5540 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5545 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5551 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5556 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5563 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5571 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5577 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5583 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5631 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5636 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5640 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
5641 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_host_exit_hibernation()
5646 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5653 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5662 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5667 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5670 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5675 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5682 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5687 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()