Lines Matching refs:dma_reg
901 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status() local
911 dma_reg = chan->device->dma_reg; in ppc440spe_adma_device_clear_eot_status()
912 while ((rv = ioread32(&dma_reg->csfpl))) { in ppc440spe_adma_device_clear_eot_status()
974 rv = ioread32(&dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
979 iowrite32(rv, &dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
1020 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy() local
1027 dma_reg = chan->device->dma_reg; in ppc440spe_chan_is_busy()
1031 if (ioread16(&dma_reg->cpfhp) != ioread16(&dma_reg->cpftp) || in ppc440spe_chan_is_busy()
1032 ioread16(&dma_reg->cpftp) != ioread16(&dma_reg->csftp)) in ppc440spe_chan_is_busy()
1080 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc() local
1090 iowrite32(pcdb, &dma_reg->cpfpl); in ppc440spe_dma_put_desc()
1177 struct dma_regs *dma_reg; in ppc440spe_chan_get_current_descriptor() local
1187 dma_reg = chan->device->dma_reg; in ppc440spe_chan_get_current_descriptor()
1188 return ioread32(&dma_reg->acpl) & (~DMA_CDB_MSK); in ppc440spe_chan_get_current_descriptor()
4109 adev->dma_reg = regs; in ppc440spe_adma_probe()
4116 &adev->dma_reg->fsiz); in ppc440spe_adma_probe()
4119 &adev->dma_reg->cfg); in ppc440spe_adma_probe()
4121 iowrite32(~0, &adev->dma_reg->dsts); in ppc440spe_adma_probe()
4217 iounmap(adev->dma_reg); in ppc440spe_adma_probe()
4280 iounmap(adev->dma_reg); in ppc440spe_adma_remove()