Lines Matching refs:dma_reg
988 struct dma64 *dma_reg; in pdc_ring_init() local
1028 dma_reg = &pdcs->regs->dmaregs[ringset]; in pdc_ring_init()
1031 iowrite32(PDC_TX_CTL, &dma_reg->dmaxmt.control); in pdc_ring_init()
1033 &dma_reg->dmarcv.control); in pdc_ring_init()
1034 iowrite32(0, &dma_reg->dmaxmt.ptr); in pdc_ring_init()
1035 iowrite32(0, &dma_reg->dmarcv.ptr); in pdc_ring_init()
1039 &dma_reg->dmaxmt.addrlow); in pdc_ring_init()
1041 &dma_reg->dmaxmt.addrhigh); in pdc_ring_init()
1044 &dma_reg->dmarcv.addrlow); in pdc_ring_init()
1046 &dma_reg->dmarcv.addrhigh); in pdc_ring_init()
1049 iowrite32(PDC_TX_CTL | PDC_TX_ENABLE, &dma_reg->dmaxmt.control); in pdc_ring_init()
1051 &dma_reg->dmarcv.control); in pdc_ring_init()
1283 struct dma64 *dma_reg; in pdc_hw_init() local
1310 dma_reg = &pdcs->regs->dmaregs[ringset]; in pdc_hw_init()
1313 iowrite32(PDC_TX_CTL, &dma_reg->dmaxmt.control); in pdc_hw_init()
1316 &dma_reg->dmarcv.control); in pdc_hw_init()
1319 iowrite32(0, &dma_reg->dmaxmt.ptr); in pdc_hw_init()
1320 iowrite32(0, &dma_reg->dmarcv.ptr); in pdc_hw_init()
1334 struct dma64 *dma_reg; in pdc_hw_disable() local
1336 dma_reg = &pdcs->regs->dmaregs[PDC_RINGSET]; in pdc_hw_disable()
1337 iowrite32(PDC_TX_CTL, &dma_reg->dmaxmt.control); in pdc_hw_disable()
1339 &dma_reg->dmarcv.control); in pdc_hw_disable()