Lines Matching refs:dma_regs

578 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;  in pata_macio_freeze()  local
580 if (dma_regs) { in pata_macio_freeze()
584 writel((RUN|PAUSE|FLUSH|WAKE|DEAD) << 16, &dma_regs->control); in pata_macio_freeze()
585 while (--timeout && (readl(&dma_regs->status) & RUN)) in pata_macio_freeze()
597 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_setup() local
603 writel(priv->dma_table_dma, &dma_regs->cmdptr); in pata_macio_bmdma_setup()
626 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_start() local
630 writel((RUN << 16) | RUN, &dma_regs->control); in pata_macio_bmdma_start()
632 (void)readl(&dma_regs->control); in pata_macio_bmdma_start()
639 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_stop() local
645 writel (((RUN|WAKE|DEAD) << 16), &dma_regs->control); in pata_macio_bmdma_stop()
646 while (--timeout && (readl(&dma_regs->status) & RUN)) in pata_macio_bmdma_stop()
653 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_status() local
657 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status()
692 writel((FLUSH << 16) | FLUSH, &dma_regs->control); in pata_macio_bmdma_status()
695 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status()
1042 void __iomem *dma_regs = NULL; in pata_macio_common_init() local
1078 dma_regs = devm_ioremap(priv->dev, dmaregs, in pata_macio_common_init()
1080 if (dma_regs == NULL) in pata_macio_common_init()
1095 priv->tfregs, dma_regs); in pata_macio_common_init()
1103 if (priv->pdev && dma_regs) in pata_macio_common_init()