Lines Matching refs:sdma_base
163 void __iomem *sdma_base; member
423 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()
521 return readl(pi->sdma_base + SDMA_SDCM) & SDMA_SDCM_TXD; in mpsc_sdma_tx_active()
1081 if ((readl(pi->sdma_base + SDMA_SDCM) & SDMA_SDCM_ERD) == 0) in mpsc_rx_intr()
1636 if ((readl(pi->sdma_base + SDMA_SDCM) & SDMA_SDCM_ERD) == 0) in mpsc_get_poll_char()
1966 pi->sdma_base = ioremap(r->start,MPSC_SDMA_REG_BLOCK_SIZE); in mpsc_drv_map_regs()
1988 if (pi->sdma_base) { in mpsc_drv_map_regs()
1989 iounmap(pi->sdma_base); in mpsc_drv_map_regs()
1990 pi->sdma_base = NULL; in mpsc_drv_map_regs()
2006 if (!pi->sdma_base) { in mpsc_drv_unmap_regs()
2007 iounmap(pi->sdma_base); in mpsc_drv_unmap_regs()
2016 pi->sdma_base = NULL; in mpsc_drv_unmap_regs()