Lines Matching refs:dma_regs
63 struct dbdma_regs __iomem *dma_regs; member
153 DBDMA_DO_STOP(rm->dma_regs); in rackmeter_do_pause()
162 out_le32(&rm->dma_regs->cmdptr_hi, 0); in rackmeter_do_pause()
163 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
164 out_le32(&rm->dma_regs->control, (RUN << 16) | RUN); in rackmeter_do_pause()
173 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_setup_dbdma()
335 (void)in_le32(&rm->dma_regs->status); in rackmeter_irq()
349 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_irq()
474 rm->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x100); in rackmeter_probe()
476 rm->dma_regs = ioremap(rdma.start, 0x100); in rackmeter_probe()
478 if (rm->dma_regs == NULL) { in rackmeter_probe()
503 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_probe()
505 iounmap(rm->dma_regs); in rackmeter_probe()
538 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_remove()
544 iounmap(rm->dma_regs); in rackmeter_remove()
577 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_shutdown()