sgdma_csroffs
csrwr32(SGDMA_CTRLREG_RESET, priv->tx_dma_csr, sgdma_csroffs(control));
csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control));
csrwr32(SGDMA_CTRLREG_RESET, priv->rx_dma_csr, sgdma_csroffs(control));
csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control));
tse_set_bit(priv->rx_dma_csr, sgdma_csroffs(control),
tse_set_bit(priv->tx_dma_csr, sgdma_csroffs(control),
u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status));
csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control));
csrwr32(0xf, priv->rx_dma_csr, sgdma_csroffs(status));
sgdma_csroffs(next_descrip));
sgdma_csroffs(control));
csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control));
csrwr32(0x1f, priv->tx_dma_csr, sgdma_csroffs(status));
sgdma_csroffs(next_descrip));
sgdma_csroffs(control));
return csrrd32(priv->rx_dma_csr, sgdma_csroffs(status))
while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status))
if (csrrd32(priv->tx_dma_csr, sgdma_csroffs(status))