Lines Matching defs:dma
47 struct dbdma_regs __iomem *dma;
107 struct dbdma_regs __iomem *dma = state->dma;
112 writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control);
127 struct dbdma_regs __iomem *dma = state->dma;
137 writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control);
195 struct dbdma_regs __iomem *dma = state->dma;
218 writel(RUN << 16, &dma->control); /* stop dma */
274 writel(virt_to_phys(state->dma_cmds), &dma->cmdptr);
275 writel((RUN << 16) | RUN, &dma->control);
313 writel(RUN << 16, &dma->control); /* stop dma */
315 /* should check dma status */
445 state->dma = (struct dbdma_regs __iomem *)
448 if (state->regs == NULL || state->dma == NULL) {
461 /* Space for dma command list: +1 for stop command,
469 printk(KERN_ERR "mac53c94: couldn't allocate dma "
500 if (state->dma != NULL)
501 iounmap(state->dma);
522 if (fp->dma)
523 iounmap(fp->dma);