Lines Matching refs:dma_ctrl
73 unsigned long dma_ctrl; member
301 priv->dma_ctrl = (4 << METH_RX_OFFSET_SHIFT) | in meth_reset()
303 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_reset()
340 priv->dma_ctrl |= METH_DMA_TX_EN | /*METH_DMA_TX_INT_EN |*/ in meth_open()
342 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_open()
364 priv->dma_ctrl &= ~(METH_DMA_TX_EN | METH_DMA_TX_INT_EN | in meth_release()
366 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_release()
385 priv->dma_ctrl &= ~METH_DMA_RX_INT_EN; in meth_rx()
386 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_rx()
463 priv->dma_ctrl |= METH_DMA_RX_INT_EN | METH_DMA_RX_EN; in meth_rx()
464 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_rx()
486 priv->dma_ctrl &= ~(METH_DMA_TX_INT_EN); in meth_tx_cleanup()
487 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_tx_cleanup()
562 priv->dma_ctrl &= ~METH_DMA_RX_EN; in meth_error()
563 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_error()
593 if (!(priv->dma_ctrl & METH_DMA_RX_INT_EN)) in meth_interrupt()
706 priv->dma_ctrl &= ~(METH_DMA_TX_INT_EN); in meth_tx()
707 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_tx()
719 priv->dma_ctrl |= METH_DMA_TX_INT_EN; in meth_tx()
720 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_tx()
752 priv->dma_ctrl |= METH_DMA_TX_EN | METH_DMA_RX_EN | METH_DMA_RX_INT_EN; in meth_tx_timeout()
753 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_tx_timeout()