Home
last modified time | relevance | path

Searched refs:swtail (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/ath/wil6210/
Dtxrx.c47 return vring->swhead == vring->swtail; in wil_vring_is_empty()
52 return (vring->swtail + 1) % vring->size; in wil_vring_next_tail()
69 u32 swtail = vring->swtail; in wil_vring_used_tx() local
70 return (vring->size + swhead - swtail) % vring->size; in wil_vring_used_tx()
108 vring->swtail = 0; in wil_vring_alloc()
184 &vring->va[vring->swtail].tx; in wil_vring_free()
186 ctx = &vring->ctx[vring->swtail]; in wil_vring_free()
190 vring->swtail); in wil_vring_free()
191 vring->swtail = wil_vring_next_tail(vring); in wil_vring_free()
198 vring->swtail = wil_vring_next_tail(vring); in wil_vring_free()
[all …]
Ddebugfs.c62 seq_printf(s, " swtail = %d\n", vring->swtail); in wil_print_vring()
103 u32 swtail = vring->swtail; in wil_vring_debugfs_show() local
104 int used = (vring->size + swhead - swtail) in wil_vring_debugfs_show()
Dwil6210.h371 u32 swtail; member
/drivers/infiniband/hw/hfi1/
Dsdma.c1703 u16 swtail; in sdma_gethead() local
1709 swtail = ACCESS_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_gethead()
1712 if (swhead < swtail) in sdma_gethead()
1714 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead()
1715 else if (swhead > swtail) in sdma_gethead()
1718 (hwhead <= swtail); in sdma_gethead()
1727 hwhead, swhead, swtail, cnt); in sdma_gethead()
1845 u16 swtail; in sdma_make_progress() local
1847 swtail = ACCESS_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_make_progress()
1848 if (swtail != hwhead) { in sdma_make_progress()
/drivers/infiniband/hw/qib/
Dqib_iba7220.c4328 u16 swtail; in qib_sdma_7220_gethead() local
4340 swtail = ppd->sdma_descq_tail; in qib_sdma_7220_gethead()
4343 if (swhead < swtail) { in qib_sdma_7220_gethead()
4345 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7220_gethead()
4346 } else if (swhead > swtail) { in qib_sdma_7220_gethead()
4349 (hwhead <= swtail); in qib_sdma_7220_gethead()
Dqib_iba7322.c6964 u16 swtail; in qib_sdma_7322_gethead() local
6976 swtail = ppd->sdma_descq_tail; in qib_sdma_7322_gethead()
6979 if (swhead < swtail) in qib_sdma_7322_gethead()
6981 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7322_gethead()
6982 else if (swhead > swtail) in qib_sdma_7322_gethead()
6985 (hwhead <= swtail); in qib_sdma_7322_gethead()