Lines Matching refs:csrwr32
135 csrwr32(SGDMA_CTRLREG_RESET, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
136 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
138 csrwr32(SGDMA_CTRLREG_RESET, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
139 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
275 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_rx_status()
277 csrwr32(0xf, priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
328 csrwr32(lower_32_bits(raddr), desc, sgdma_descroffs(raddr)); in sgdma_setup_descrip()
329 csrwr32(lower_32_bits(waddr), desc, sgdma_descroffs(waddr)); in sgdma_setup_descrip()
331 csrwr32(0, desc, sgdma_descroffs(pad1)); in sgdma_setup_descrip()
332 csrwr32(0, desc, sgdma_descroffs(pad2)); in sgdma_setup_descrip()
333 csrwr32(lower_32_bits(ndesc_phys), desc, sgdma_descroffs(next)); in sgdma_setup_descrip()
380 csrwr32(lower_32_bits(sgdma_rxphysaddr(priv, cdesc)), in sgdma_async_read()
384 csrwr32((priv->rxctrlreg | SGDMA_CTRLREG_START), in sgdma_async_read()
401 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_async_write()
402 csrwr32(0x1f, priv->tx_dma_csr, sgdma_csroffs(status)); in sgdma_async_write()
407 csrwr32(lower_32_bits(sgdma_txphysaddr(priv, desc)), in sgdma_async_write()
411 csrwr32((priv->txctrlreg | SGDMA_CTRLREG_START), in sgdma_async_write()