Lines Matching refs:dma_reg
899 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status() local
909 dma_reg = chan->device->dma_reg; in ppc440spe_adma_device_clear_eot_status()
910 while ((rv = ioread32(&dma_reg->csfpl))) { in ppc440spe_adma_device_clear_eot_status()
972 rv = ioread32(&dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
977 iowrite32(rv, &dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
1018 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy() local
1025 dma_reg = chan->device->dma_reg; in ppc440spe_chan_is_busy()
1029 if (ioread16(&dma_reg->cpfhp) != ioread16(&dma_reg->cpftp) || in ppc440spe_chan_is_busy()
1030 ioread16(&dma_reg->cpftp) != ioread16(&dma_reg->csftp)) in ppc440spe_chan_is_busy()
1078 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc() local
1088 iowrite32(pcdb, &dma_reg->cpfpl); in ppc440spe_dma_put_desc()
1175 struct dma_regs *dma_reg; in ppc440spe_chan_get_current_descriptor() local
1185 dma_reg = chan->device->dma_reg; in ppc440spe_chan_get_current_descriptor()
1186 return ioread32(&dma_reg->acpl) & (~DMA_CDB_MSK); in ppc440spe_chan_get_current_descriptor()
4106 adev->dma_reg = regs; in ppc440spe_adma_probe()
4113 &adev->dma_reg->fsiz); in ppc440spe_adma_probe()
4116 &adev->dma_reg->cfg); in ppc440spe_adma_probe()
4118 iowrite32(~0, &adev->dma_reg->dsts); in ppc440spe_adma_probe()
4214 iounmap(adev->dma_reg); in ppc440spe_adma_probe()
4277 iounmap(adev->dma_reg); in ppc440spe_adma_remove()