Lines Matching refs:va
100 size_t sz = vring->size * sizeof(vring->va[0]); in wil_vring_alloc()
105 BUILD_BUG_ON(sizeof(vring->va[0]) != 32); in wil_vring_alloc()
111 vring->va = NULL; in wil_vring_alloc()
117 vring->va = dma_alloc_coherent(dev, sz, &vring->pa, GFP_KERNEL); in wil_vring_alloc()
118 if (!vring->va) { in wil_vring_alloc()
128 volatile struct vring_tx_desc *_d = &vring->va[i].tx; in wil_vring_alloc()
134 vring->va, &vring->pa, vring->ctx); in wil_vring_alloc()
161 size_t sz = vring->size * sizeof(vring->va[0]); in wil_vring_free()
168 vring_index, vring->size, vring->va, in wil_vring_free()
172 vring->size, vring->va, in wil_vring_free()
184 &vring->va[vring->swtail].tx; in wil_vring_free()
202 &vring->va[vring->swhead].rx; in wil_vring_free()
213 dma_free_coherent(dev, sz, (void *)vring->va, vring->pa); in wil_vring_free()
216 vring->va = NULL; in wil_vring_free()
231 volatile struct vring_rx_desc *_d = &vring->va[i].rx; in wil_vring_alloc_skb()
407 _d = &vring->va[i].rx; in wil_vring_reap_rx()
732 if (unlikely(!v->va)) { in wil_rx_handle()
761 if (vring->va) { in wil_rx_init()
792 if (vring->va) in wil_rx_fini()
846 if (vring->va) { in wil_vring_init_tx()
926 if (vring->va) { in wil_vring_init_bcast()
981 if (!vring->va) in wil_vring_fini_tx()
1025 if (v->va && txdata->enabled) { in wil_find_tx_ucast()
1055 if (!v->va || !txdata->enabled) in wil_find_tx_vring_sta()
1098 if (!v->va || !txdata->enabled) in wil_find_tx_bcast_1()
1131 if (!v->va || !txdata->enabled) in wil_find_tx_bcast_2()
1159 if (!v2->va) in wil_find_tx_bcast_2()
1418 _hdr_desc = &vring->va[i].tx; in __wil_tx_vring_tso()
1483 _desc = &vring->va[i].tx; in __wil_tx_vring_tso()
1603 d = (struct vring_tx_desc *)&vring->va[i].tx; in __wil_tx_vring_tso()
1604 _desc = &vring->va[i].tx; in __wil_tx_vring_tso()
1646 _d = &vring->va[i].tx; in __wil_tx_vring()
1686 _d = &vring->va[i].tx; in __wil_tx_vring()
1755 _d = &vring->va[i].tx; in __wil_tx_vring()
1884 if (unlikely(!vring->va)) { in wil_tx_complete()
1912 _d = &vring->va[lf].tx; in wil_tx_complete()
1924 _d = &vring->va[vring->swtail].tx; in wil_tx_complete()