Lines Matching refs:msgdma_csroffs
43 msgdma_csroffs(status)); in msgdma_reset()
45 msgdma_csroffs(control)); in msgdma_reset()
49 if (tse_bit_is_clear(priv->rx_dma_csr, msgdma_csroffs(status), in msgdma_reset()
60 csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, msgdma_csroffs(status)); in msgdma_reset()
64 msgdma_csroffs(status)); in msgdma_reset()
67 msgdma_csroffs(control)); in msgdma_reset()
71 if (tse_bit_is_clear(priv->tx_dma_csr, msgdma_csroffs(status), in msgdma_reset()
82 csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, msgdma_csroffs(status)); in msgdma_reset()
87 tse_clear_bit(priv->rx_dma_csr, msgdma_csroffs(control), in msgdma_disable_rxirq()
93 tse_set_bit(priv->rx_dma_csr, msgdma_csroffs(control), in msgdma_enable_rxirq()
99 tse_clear_bit(priv->tx_dma_csr, msgdma_csroffs(control), in msgdma_disable_txirq()
105 tse_set_bit(priv->tx_dma_csr, msgdma_csroffs(control), in msgdma_enable_txirq()
111 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->rx_dma_csr, msgdma_csroffs(status)); in msgdma_clear_rxirq()
116 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->tx_dma_csr, msgdma_csroffs(status)); in msgdma_clear_txirq()
144 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) in msgdma_tx_completions()
151 status = csrrd32(priv->tx_dma_csr, msgdma_csroffs(status)); in msgdma_tx_completions()
195 if (csrrd32(priv->rx_dma_csr, msgdma_csroffs(resp_fill_level)) in msgdma_rx_status()