Lines Matching refs:dma_reg
913 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status() local
923 dma_reg = chan->device->dma_reg; in ppc440spe_adma_device_clear_eot_status()
924 while ((rv = ioread32(&dma_reg->csfpl))) { in ppc440spe_adma_device_clear_eot_status()
986 rv = ioread32(&dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
991 iowrite32(rv, &dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
1032 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy() local
1039 dma_reg = chan->device->dma_reg; in ppc440spe_chan_is_busy()
1043 if (ioread16(&dma_reg->cpfhp) != ioread16(&dma_reg->cpftp) || in ppc440spe_chan_is_busy()
1044 ioread16(&dma_reg->cpftp) != ioread16(&dma_reg->csftp)) in ppc440spe_chan_is_busy()
1092 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc() local
1102 iowrite32(pcdb, &dma_reg->cpfpl); in ppc440spe_dma_put_desc()
1189 struct dma_regs *dma_reg; in ppc440spe_chan_get_current_descriptor() local
1199 dma_reg = chan->device->dma_reg; in ppc440spe_chan_get_current_descriptor()
1200 return ioread32(&dma_reg->acpl) & (~DMA_CDB_MSK); in ppc440spe_chan_get_current_descriptor()
4125 adev->dma_reg = regs; in ppc440spe_adma_probe()
4132 &adev->dma_reg->fsiz); in ppc440spe_adma_probe()
4135 &adev->dma_reg->cfg); in ppc440spe_adma_probe()
4137 iowrite32(~0, &adev->dma_reg->dsts); in ppc440spe_adma_probe()
4235 iounmap(adev->dma_reg); in ppc440spe_adma_probe()
4298 iounmap(adev->dma_reg); in ppc440spe_adma_remove()