Home
last modified time | relevance | path

Searched refs:sgdma_csroffs (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_sgdma.c135 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()
165 tse_set_bit(priv->rx_dma_csr, sgdma_csroffs(control), in sgdma_clear_rxirq()
171 tse_set_bit(priv->tx_dma_csr, sgdma_csroffs(control), in sgdma_clear_txirq()
249 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
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()
382 sgdma_csroffs(next_descrip)); in sgdma_async_read()
[all …]
Daltera_sgdmahw.h104 #define sgdma_csroffs(a) (offsetof(struct sgdma_csr, a)) macro