Lines Matching defs:dma
47 struct dbdma_regs __iomem *dma;
109 struct dbdma_regs __iomem *dma = state->dma;
114 writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control);
129 struct dbdma_regs __iomem *dma = state->dma;
140 writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control);
198 struct dbdma_regs __iomem *dma = state->dma;
220 writel(RUN << 16, &dma->control); /* stop dma */
276 writel(virt_to_phys(state->dma_cmds), &dma->cmdptr);
277 writel((RUN << 16) | RUN, &dma->control);
315 writel(RUN << 16, &dma->control); /* stop dma */
317 /* should check dma status */
448 state->dma = (struct dbdma_regs __iomem *)
451 if (state->regs == NULL || state->dma == NULL) {
464 /* Space for dma command list: +1 for stop command,
472 printk(KERN_ERR "mac53c94: couldn't allocate dma "
502 if (state->dma != NULL)
503 iounmap(state->dma);
524 if (fp->dma)
525 iounmap(fp->dma);