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