Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/altera/
Daltera_sgdma.c122 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()
[all …]
Daltera_sgdmahw.h94 #define sgdma_csroffs(a) (offsetof(struct sgdma_csr, a)) macro