Lines Matching refs:membase
72 void __iomem *membase; member
89 void __iomem *membase; member
118 ier = ioread32(td->membase + TIMBDMA_IER); in __td_enable_chan_irq()
122 iowrite32(ier, td->membase + TIMBDMA_IER); in __td_enable_chan_irq()
136 isr = ioread32(td->membase + TIMBDMA_ISR) & (1 << id); in __td_dma_done_ack()
138 iowrite32(isr, td->membase + TIMBDMA_ISR); in __td_dma_done_ack()
193 td_chan, td_chan->chan.chan_id, td_chan->membase); in __td_start_dma()
198 iowrite32(0, td_chan->membase + TIMBDMA_OFFS_RX_DHAR); in __td_start_dma()
199 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma()
202 iowrite32(td_chan->bytes_per_line, td_chan->membase + in __td_start_dma()
205 iowrite32(TIMBDMA_RX_EN, td_chan->membase + TIMBDMA_OFFS_RX_ER); in __td_start_dma()
208 iowrite32(0, td_chan->membase + TIMBDMA_OFFS_TX_DHAR); in __td_start_dma()
209 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma()
238 iowrite32(0, td_chan->membase + TIMBDMA_OFFS_RX_ER); in __td_finish()
574 isr = ioread32(td->membase + TIMBDMA_ISR); in td_tasklet()
578 iowrite32(ipr, td->membase + TIMBDMA_ISR); in td_tasklet()
591 iowrite32(ier, td->membase + TIMBDMA_IER); in td_tasklet()
598 u32 ipr = ioread32(td->membase + TIMBDMA_IPR); in td_irq()
602 iowrite32(0, td->membase + TIMBDMA_IER); in td_irq()
647 td->membase = ioremap(iomem->start, resource_size(iomem)); in td_probe()
648 if (!td->membase) { in td_probe()
655 iowrite32(TIMBDMA_32BIT_ADDR, td->membase + TIMBDMA_ACR); in td_probe()
658 iowrite32(0x0, td->membase + TIMBDMA_IER); in td_probe()
659 iowrite32(0xFFFFFFFF, td->membase + TIMBDMA_ISR); in td_probe()
708 td_chan->membase = td->membase + in td_probe()
713 i, td_chan->membase); in td_probe()
733 iounmap(td->membase); in td_probe()
752 iounmap(td->membase); in td_remove()