Lines Matching refs:chan_base
78 void __iomem *chan_base; member
412 void __iomem *chan_base = c->chan_base; in bcm2835_dma_abort() local
419 if (!readl(chan_base + BCM2835_DMA_ADDR)) in bcm2835_dma_abort()
423 writel(0, chan_base + BCM2835_DMA_CS); in bcm2835_dma_abort()
426 while ((readl(chan_base + BCM2835_DMA_CS) & in bcm2835_dma_abort()
435 writel(BCM2835_DMA_RESET, chan_base + BCM2835_DMA_CS); in bcm2835_dma_abort()
452 writel(d->cb_list[0].paddr, c->chan_base + BCM2835_DMA_ADDR); in bcm2835_dma_start_desc()
453 writel(BCM2835_DMA_ACTIVE, c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_start_desc()
465 flags = readl(c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_callback()
481 c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_callback()
489 } else if (!readl(c->chan_base + BCM2835_DMA_ADDR)) { in bcm2835_dma_callback()
584 pos = readl(c->chan_base + BCM2835_DMA_SOURCE_AD); in bcm2835_dma_tx_status()
586 pos = readl(c->chan_base + BCM2835_DMA_DEST_AD); in bcm2835_dma_tx_status()
829 c->chan_base = BCM2835_DMA_CHANIO(d->base, chan_id); in bcm2835_dma_chan_init()
835 if (readl(c->chan_base + BCM2835_DMA_DEBUG) & in bcm2835_dma_chan_init()