Home
last modified time | relevance | path

Searched refs:ring_virt (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/powerpc/platforms/pasemi/
Ddma_lib.c216 if (chan->ring_virt) in pasemi_dma_free_chan()
242 BUG_ON(chan->ring_virt); in pasemi_dma_alloc_ring()
246 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring()
250 if (!chan->ring_virt) in pasemi_dma_alloc_ring()
264 BUG_ON(!chan->ring_virt); in pasemi_dma_free_ring()
267 chan->ring_virt, chan->ring_dma); in pasemi_dma_free_ring()
268 chan->ring_virt = NULL; in pasemi_dma_free_ring()
/Linux-v5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac.h94 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)])
96 #define RX_DESC(rx, num) ((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)])
99 #define CS_DESC(cs, num) ((cs)->chan.ring_virt[(num) & (CS_RING_SIZE-1)])
/Linux-v5.10/arch/powerpc/include/asm/
Dpasemi_dma.h477 u64 *ring_virt; /* Virt address for ring */ member
/Linux-v5.10/drivers/net/ethernet/micrel/
Dksz884x.c1002 struct ksz_hw_desc *ring_virt; member
3832 struct ksz_hw_desc *desc = desc_info->ring_virt; in hw_init_desc()
4411 hw->rx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4415 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4543 hw->rx_desc_info.ring_virt = NULL; in ksz_free_desc()
4544 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()