Searched refs:msgdma_csroffs (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/altera/
H A Daltera_msgdma.c43 msgdma_csroffs(status)); msgdma_reset()
45 msgdma_csroffs(control)); msgdma_reset()
49 if (tse_bit_is_clear(priv->rx_dma_csr, msgdma_csroffs(status), msgdma_reset()
60 csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, msgdma_csroffs(status)); msgdma_reset()
64 msgdma_csroffs(status)); msgdma_reset()
67 msgdma_csroffs(control)); msgdma_reset()
71 if (tse_bit_is_clear(priv->tx_dma_csr, msgdma_csroffs(status), msgdma_reset()
82 csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, msgdma_csroffs(status)); msgdma_reset()
87 tse_clear_bit(priv->rx_dma_csr, msgdma_csroffs(control), msgdma_disable_rxirq()
93 tse_set_bit(priv->rx_dma_csr, msgdma_csroffs(control), msgdma_enable_rxirq()
99 tse_clear_bit(priv->tx_dma_csr, msgdma_csroffs(control), msgdma_disable_txirq()
105 tse_set_bit(priv->tx_dma_csr, msgdma_csroffs(control), msgdma_enable_txirq()
111 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->rx_dma_csr, msgdma_csroffs(status)); msgdma_clear_rxirq()
116 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->tx_dma_csr, msgdma_csroffs(status)); msgdma_clear_txirq()
144 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) msgdma_tx_completions()
151 status = csrrd32(priv->tx_dma_csr, msgdma_csroffs(status)); msgdma_tx_completions()
195 if (csrrd32(priv->rx_dma_csr, msgdma_csroffs(resp_fill_level)) msgdma_rx_status()
H A Daltera_msgdmahw.h150 #define msgdma_csroffs(a) (offsetof(struct msgdma_csr, a)) macro

Completed in 75 milliseconds