Searched refs:sdma_base (Results 1 – 2 of 2) sorted by relevance
94 static void mpsc_stop_dma(volatile char *sdma_base) in mpsc_stop_dma() argument97 out_le32((u32 *)(sdma_base + SDMA_SDCM), SDMA_SDCM_AR | SDMA_SDCM_AT); in mpsc_stop_dma()99 while ((in_le32((u32 *)(sdma_base + SDMA_SDCM)) in mpsc_stop_dma()129 volatile char *sdma_base; in mpsc_console_init() local136 sdma_base = mpsc_get_virtreg_of_phandle(devp, "sdma"); in mpsc_console_init()137 if (sdma_base == NULL) in mpsc_console_init()157 mpsc_stop_dma(sdma_base); in mpsc_console_init()
163 void __iomem *sdma_base; member423 writel((readl(pi->sdma_base + SDMA_SDC) & (0x3 << 12)) | (v << 12), in mpsc_sdma_burstsize()424 pi->sdma_base + SDMA_SDC); in mpsc_sdma_burstsize()432 writel((readl(pi->sdma_base + SDMA_SDC) & 0x3ff) | 0x03f, in mpsc_sdma_init()433 pi->sdma_base + SDMA_SDC); in mpsc_sdma_init()495 writel((u32)rxre_p, pi->sdma_base + SDMA_SCRDP); in mpsc_sdma_set_rx_ring()501 writel((u32)txre_p, pi->sdma_base + SDMA_SFTDP); in mpsc_sdma_set_tx_ring()502 writel((u32)txre_p, pi->sdma_base + SDMA_SCTDP); in mpsc_sdma_set_tx_ring()509 v = readl(pi->sdma_base + SDMA_SDCM); in mpsc_sdma_cmd()515 writel(v, pi->sdma_base + SDMA_SDCM); in mpsc_sdma_cmd()[all …]