Lines Matching refs:writel
70 writel(0xffffffff, hsotg->regs + GOTGINT); in dwc2_enable_common_interrupts()
73 writel(0xffffffff, hsotg->regs + GINTSTS); in dwc2_enable_common_interrupts()
84 writel(intmsk, hsotg->regs + GINTMSK); in dwc2_enable_common_interrupts()
110 writel(hcfg, hsotg->regs + HCFG); in dwc2_init_fs_ls_pclk_sel()
140 writel(greset, hsotg->regs + GRSTCTL); in dwc2_core_reset()
156 writel(gusbcfg, hsotg->regs + GUSBCFG); in dwc2_core_reset()
161 writel(gusbcfg, hsotg->regs + GUSBCFG); in dwc2_core_reset()
166 writel(gusbcfg, hsotg->regs + GUSBCFG); in dwc2_core_reset()
191 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()
216 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()
223 writel(i2cctl, hsotg->regs + GI2CCTL); in dwc2_fs_phy_init()
225 writel(i2cctl, hsotg->regs + GI2CCTL); in dwc2_fs_phy_init()
267 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hs_phy_init()
305 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_phy_init()
310 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_phy_init()
357 writel(ahbcfg, hsotg->regs + GAHBCFG); in dwc2_gahbcfg_init()
394 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_gusbcfg_init()
425 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_core_init()
455 writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_init()
491 writel(0, hsotg->regs + GINTMSK); in dwc2_enable_host_interrupts()
492 writel(0, hsotg->regs + HAINTMSK); in dwc2_enable_host_interrupts()
500 writel(intmsk, hsotg->regs + GINTMSK); in dwc2_enable_host_interrupts()
515 writel(intmsk, hsotg->regs + GINTMSK); in dwc2_disable_host_interrupts()
600 writel(grxfsiz, hsotg->regs + GRXFSIZ); in dwc2_config_fifos()
610 writel(nptxfsiz, hsotg->regs + GNPTXFSIZ); in dwc2_config_fifos()
622 writel(hptxfsiz, hsotg->regs + HPTXFSIZ); in dwc2_config_fifos()
639 writel(dfifocfg, hsotg->regs + GDFIFOCFG); in dwc2_config_fifos()
660 writel(0, hsotg->regs + PCGCTL); in dwc2_core_host_init()
667 writel(hcfg, hsotg->regs + HCFG); in dwc2_core_host_init()
678 writel(hfir, hsotg->regs + HFIR); in dwc2_core_host_init()
696 writel(hcfg, hsotg->regs + HCFG); in dwc2_core_host_init()
707 writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_host_init()
716 writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_host_init()
729 writel(hcchar, hsotg->regs + HCCHAR(i)); in dwc2_core_host_init()
739 writel(hcchar, hsotg->regs + HCCHAR(i)); in dwc2_core_host_init()
764 writel(hprt0, hsotg->regs + HPRT0); in dwc2_core_host_init()
844 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
881 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
904 writel(intmsk, hsotg->regs + HAINTMSK); in dwc2_hc_enable_ints()
911 writel(intmsk, hsotg->regs + GINTMSK); in dwc2_hc_enable_ints()
940 writel(hcintmsk, hsotg->regs + HCINT(hc_num)); in dwc2_hc_init()
957 writel(hcchar, hsotg->regs + HCCHAR(hc_num)); in dwc2_hc_init()
1011 writel(hcsplt, hsotg->regs + HCSPLT(hc_num)); in dwc2_hc_init()
1063 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
1070 writel(~hcintmsk, hsotg->regs + HCINT(chan->hc_num)); in dwc2_hc_halt()
1151 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); in dwc2_hc_halt()
1198 writel(0, hsotg->regs + HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
1201 writel(hcintmsk, hsotg->regs + HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1287 writel(*data_buf, data_fifo); in dwc2_hc_write_packet()
1293 writel(data, data_fifo); in dwc2_hc_write_packet()
1446 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1474 writel((u32)dma_addr, hsotg->regs + HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1485 writel(hcsplt, hsotg->regs + HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1508 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1567 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1573 writel(hc_dma, hsotg->regs + HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1597 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1662 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1709 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1714 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1973 writel(greset, hsotg->regs + GRSTCTL); in dwc2_flush_tx_fifo()
2004 writel(greset, hsotg->regs + GRSTCTL); in dwc2_flush_rx_fifo()
2696 writel(gusbcfg, hsotg->regs + GUSBCFG); in dwc2_get_hwparams()
2705 writel(gusbcfg, hsotg->regs + GUSBCFG); in dwc2_get_hwparams()
2841 writel(ahbcfg, hsotg->regs + GAHBCFG); in dwc2_enable_global_interrupts()
2855 writel(ahbcfg, hsotg->regs + GAHBCFG); in dwc2_disable_global_interrupts()