Lines Matching refs:dma_regs
62 struct dbdma_regs __iomem *dma_regs; member
152 DBDMA_DO_STOP(rm->dma_regs); in rackmeter_do_pause()
161 out_le32(&rm->dma_regs->cmdptr_hi, 0); in rackmeter_do_pause()
162 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
163 out_le32(&rm->dma_regs->control, (RUN << 16) | RUN); in rackmeter_do_pause()
172 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_setup_dbdma()
334 (void)in_le32(&rm->dma_regs->status); in rackmeter_irq()
348 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_irq()
473 rm->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x100); in rackmeter_probe()
475 rm->dma_regs = ioremap(rdma.start, 0x100); in rackmeter_probe()
477 if (rm->dma_regs == NULL) { in rackmeter_probe()
502 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_probe()
504 iounmap(rm->dma_regs); in rackmeter_probe()
537 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_remove()
543 iounmap(rm->dma_regs); in rackmeter_remove()
576 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_shutdown()