Lines Matching refs:dma
11 * Some code taken from drivers/ide/ide-dma.c:
65 * beeing done by the generic code about the kind of dma controller
66 * and format of the dma table. This will have to be fixed though.
1179 if (macio_request_resource(mdev, 1, "ide-pmac (dma)"))
1457 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
1466 writel((RUN|PAUSE|FLUSH|WAKE|DEAD) << 16, &dma->control);
1467 while (readl(&dma->status) & RUN)
1516 writel(hwif->dmatable_dma, &dma->cmdptr);
1558 volatile struct dbdma_regs __iomem *dma;
1560 dma = pmif->dma_regs;
1562 writel((RUN << 16) | RUN, &dma->control);
1564 (void)readl(&dma->control);
1575 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
1578 dstat = readl(&dma->status);
1579 writel(((RUN|WAKE|DEAD) << 16), &dma->control);
1581 /* verify good dma status. we don't check for ACTIVE beeing 0. We should...
1599 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
1617 status = readl(&dma->status);
1628 writel((FLUSH << 16) | FLUSH, &dma->control);
1632 status = readl(&dma->status);
1653 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
1654 unsigned long status = readl(&dma->status);
1656 printk(KERN_ERR "ide-pmac lost interrupt, dma status: %lx\n", status);