Searched refs:sgdma_csroffs (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/altera/ |
D | altera_sgdma.c | 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() [all …]
|
D | altera_sgdmahw.h | 94 #define sgdma_csroffs(a) (offsetof(struct sgdma_csr, a)) macro
|