Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/pasemi/
Ddma_lib.c228 if (chan->ring_virt) in pasemi_dma_free_chan()
254 BUG_ON(chan->ring_virt); in pasemi_dma_alloc_ring()
258 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring()
262 if (!chan->ring_virt) in pasemi_dma_alloc_ring()
265 memset(chan->ring_virt, 0, ring_size * sizeof(u64)); in pasemi_dma_alloc_ring()
278 BUG_ON(!chan->ring_virt); in pasemi_dma_free_ring()
281 chan->ring_virt, chan->ring_dma); in pasemi_dma_free_ring()
282 chan->ring_virt = NULL; in pasemi_dma_free_ring()
/linux-2.6.39/drivers/net/
Dpasemi_mac.h111 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)])
113 #define RX_DESC(rx, num) ((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)])
116 #define CS_DESC(cs, num) ((cs)->chan.ring_virt[(num) & (CS_RING_SIZE-1)])
Dksz884x.c1010 struct ksz_hw_desc *ring_virt; member
3849 struct ksz_hw_desc *desc = desc_info->ring_virt; in hw_init_desc()
4434 hw->rx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4438 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4566 hw->rx_desc_info.ring_virt = NULL; in ksz_free_desc()
4567 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()
/linux-2.6.39/arch/powerpc/include/asm/
Dpasemi_dma.h489 u64 *ring_virt; /* Virt address for ring */ member