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()
840 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
847 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
928 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
977 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
980 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1151 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1157 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1186 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1191 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1351 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1379 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1391 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1413 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1471 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1476 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1501 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1566 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1690 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1715 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1728 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_hcd_cleanup_channels()
1790 dwc2_writel(hsotg, intr, GINTMSK); in dwc2_hcd_disconnect()
1792 dwc2_writel(hsotg, intr, GINTSTS); in dwc2_hcd_disconnect()
1802 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
1874 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2094 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_init()
2130 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_init()
2179 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_core_host_init()
2182 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
2190 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2201 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init()
2220 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2231 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2240 dwc2_writel(hsotg, otgctl, GOTGCTL); in dwc2_core_host_init()
2254 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2264 dwc2_writel(hsotg, hcchar, HCCHAR(i)); in dwc2_core_host_init()
2291 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_core_host_init()
2985 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
2998 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_periodic_channels()
3109 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3120 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_process_non_periodic_channels()
3160 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_hcd_queue_transactions()
3261 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_wakeup_detected()
3294 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_port_suspend()
3300 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_suspend()
3312 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3320 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend()
3346 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_resume()
3355 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3363 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_port_resume()
3408 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3429 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3595 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hcd_hub_control()
3643 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3657 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control()
3659 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_hcd_hub_control()
3675 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3683 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
3699 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_hub_control()
4196 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_reset_func()
4337 dwc2_writel(hsotg, hprt0, HPRT0); in _dwc2_hcd_suspend()
4449 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
4975 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_hcd_free()
4976 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_hcd_free()
4981 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
5351 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_host_registers()
5352 dwc2_writel(hsotg, hr->haintmsk, HAINTMSK); in dwc2_restore_host_registers()
5355 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()
5357 dwc2_writel(hsotg, hr->hprt0, HPRT0); in dwc2_restore_host_registers()
5358 dwc2_writel(hsotg, hr->hfir, HFIR); in dwc2_restore_host_registers()
5359 dwc2_writel(hsotg, hr->hptxfsiz, HPTXFSIZ); in dwc2_restore_host_registers()
5397 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_enter_hibernation()
5416 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5421 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5427 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5432 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5439 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5447 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5453 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5459 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5507 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()
5512 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5516 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
5517 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_host_exit_hibernation()
5522 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_exit_hibernation()
5529 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5538 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5543 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5546 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5551 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5558 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_host_exit_hibernation()
5563 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_host_exit_hibernation()