Lines Matching refs:dmas
276 u32 dmas; /* Status. */ member
394 while (!(readl(&ch->dmas) & DMA_STAT_HALT)) in korina_abort_dma()
397 writel(0, &ch->dmas); in korina_abort_dma()
573 u32 dmas, dmasm; in korina_rx_dma_interrupt() local
576 dmas = readl(&lp->rx_dma_regs->dmas); in korina_rx_dma_interrupt()
577 if (dmas & (DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR)) { in korina_rx_dma_interrupt()
585 if (dmas & DMA_STAT_ERR) in korina_rx_dma_interrupt()
600 u32 devcs, pkt_len, dmas; in korina_rx() local
683 writel((u32)~DMA_STAT_DONE, &lp->rx_dma_regs->dmas); in korina_rx()
686 dmas = readl(&lp->rx_dma_regs->dmas); in korina_rx()
688 if (dmas & DMA_STAT_HALT) { in korina_rx()
690 &lp->rx_dma_regs->dmas); in korina_rx()
768 u32 dmas; in korina_tx() local
840 dmas = readl(&lp->tx_dma_regs->dmas); in korina_tx()
841 writel(~dmas, &lp->tx_dma_regs->dmas); in korina_tx()
855 u32 dmas, dmasm; in korina_tx_dma_interrupt() local
858 dmas = readl(&lp->tx_dma_regs->dmas); in korina_tx_dma_interrupt()
860 if (dmas & (DMA_STAT_FINI | DMA_STAT_ERR)) { in korina_tx_dma_interrupt()
875 if (dmas & DMA_STAT_ERR) in korina_tx_dma_interrupt()
1087 writel(0, &lp->rx_dma_regs->dmas); in korina_init()