Lines Matching refs:sgdma_csroffs
122 csrwr32(SGDMA_CTRLREG_RESET, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
123 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
125 csrwr32(SGDMA_CTRLREG_RESET, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
126 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
152 tse_set_bit(priv->rx_dma_csr, sgdma_csroffs(control), in sgdma_clear_rxirq()
158 tse_set_bit(priv->tx_dma_csr, sgdma_csroffs(control), in sgdma_clear_txirq()
236 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
262 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_rx_status()
264 csrwr32(0xf, priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
369 sgdma_csroffs(next_descrip)); in sgdma_async_read()
373 sgdma_csroffs(control)); in sgdma_async_read()
388 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_async_write()
389 csrwr32(0x1f, priv->tx_dma_csr, sgdma_csroffs(status)); in sgdma_async_write()
396 sgdma_csroffs(next_descrip)); in sgdma_async_write()
400 sgdma_csroffs(control)); in sgdma_async_write()
505 return csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)) in sgdma_rxbusy()
517 while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
521 if (csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()