Lines Matching refs:dmasm
277 u32 dmasm; /* Mask. */ member
574 u32 dmas, dmasm; in korina_rx_dma_interrupt() local
579 dmasm = readl(&lp->rx_dma_regs->dmasm); in korina_rx_dma_interrupt()
580 writel(dmasm | (DMA_STAT_DONE | in korina_rx_dma_interrupt()
582 &lp->rx_dma_regs->dmasm); in korina_rx_dma_interrupt()
714 writel(readl(&lp->rx_dma_regs->dmasm) & in korina_poll()
716 &lp->rx_dma_regs->dmasm); in korina_poll()
844 writel(readl(&lp->tx_dma_regs->dmasm) & in korina_tx()
846 &lp->tx_dma_regs->dmasm); in korina_tx()
856 u32 dmas, dmasm; in korina_tx_dma_interrupt() local
862 dmasm = readl(&lp->tx_dma_regs->dmasm); in korina_tx_dma_interrupt()
863 writel(dmasm | (DMA_STAT_FINI | DMA_STAT_ERR), in korina_tx_dma_interrupt()
864 &lp->tx_dma_regs->dmasm); in korina_tx_dma_interrupt()
1093 writel(readl(&lp->tx_dma_regs->dmasm) & in korina_init()
1095 &lp->tx_dma_regs->dmasm); in korina_init()
1096 writel(readl(&lp->rx_dma_regs->dmasm) & in korina_init()
1098 &lp->rx_dma_regs->dmasm); in korina_init()
1160 writel(readl(&lp->tx_dma_regs->dmasm) | in korina_restart_task()
1162 &lp->tx_dma_regs->dmasm); in korina_restart_task()
1163 writel(readl(&lp->rx_dma_regs->dmasm) | in korina_restart_task()
1165 &lp->rx_dma_regs->dmasm); in korina_restart_task()
1249 tmp = readl(&lp->tx_dma_regs->dmasm); in korina_close()
1251 writel(tmp, &lp->tx_dma_regs->dmasm); in korina_close()
1254 tmp = readl(&lp->rx_dma_regs->dmasm); in korina_close()
1256 writel(tmp, &lp->rx_dma_regs->dmasm); in korina_close()