Lines Matching refs:vbase
255 void *vbase; /* base kernel virtual address of ring */ member
994 tx.vbase = dma_pool_zalloc(pdcs->ring_pool, GFP_KERNEL, &tx.dmabase); in pdc_ring_init()
995 if (unlikely(!tx.vbase)) { in pdc_ring_init()
1001 rx.vbase = dma_pool_zalloc(pdcs->ring_pool, GFP_KERNEL, &rx.dmabase); in pdc_ring_init()
1002 if (unlikely(!rx.vbase)) { in pdc_ring_init()
1008 dev_dbg(dev, " - base virtual addr of tx ring %p", tx.vbase); in pdc_ring_init()
1010 dev_dbg(dev, " - base virtual addr of rx ring %p", rx.vbase); in pdc_ring_init()
1024 pdcs->txd_64 = (struct dma64dd *)pdcs->tx_ring_alloc.vbase; in pdc_ring_init()
1025 pdcs->rxd_64 = (struct dma64dd *)pdcs->rx_ring_alloc.vbase; in pdc_ring_init()
1078 dma_pool_free(pdcs->ring_pool, tx.vbase, tx.dmabase); in pdc_ring_init()
1085 if (pdcs->tx_ring_alloc.vbase) { in pdc_ring_free()
1086 dma_pool_free(pdcs->ring_pool, pdcs->tx_ring_alloc.vbase, in pdc_ring_free()
1088 pdcs->tx_ring_alloc.vbase = NULL; in pdc_ring_free()
1091 if (pdcs->rx_ring_alloc.vbase) { in pdc_ring_free()
1092 dma_pool_free(pdcs->ring_pool, pdcs->rx_ring_alloc.vbase, in pdc_ring_free()
1094 pdcs->rx_ring_alloc.vbase = NULL; in pdc_ring_free()