Searched refs:ring_virt (Results 1 – 4 of 4) sorted by relevance
218 if (chan->ring_virt) in pasemi_dma_free_chan()244 BUG_ON(chan->ring_virt); in pasemi_dma_alloc_ring()248 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring()252 if (!chan->ring_virt) in pasemi_dma_alloc_ring()266 BUG_ON(!chan->ring_virt); in pasemi_dma_free_ring()269 chan->ring_virt, chan->ring_dma); in pasemi_dma_free_ring()270 chan->ring_virt = NULL; in pasemi_dma_free_ring()
94 #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)])
477 u64 *ring_virt; /* Virt address for ring */ member
934 struct ksz_hw_desc *ring_virt; member3459 struct ksz_hw_desc *desc = desc_info->ring_virt; in hw_init_desc()4038 hw->rx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()4042 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()4170 hw->rx_desc_info.ring_virt = NULL; in ksz_free_desc()4171 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()