Searched refs:swtail (Results 1 – 6 of 6) sorted by relevance
47 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() local70 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 …]
62 seq_printf(s, " swtail = %d\n", vring->swtail); in wil_print_vring()103 u32 swtail = vring->swtail; in wil_vring_debugfs_show() local104 int used = (vring->size + swhead - swtail) in wil_vring_debugfs_show()
371 u32 swtail; member
1703 u16 swtail; in sdma_gethead() local1709 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() local1847 swtail = ACCESS_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_make_progress()1848 if (swtail != hwhead) { in sdma_make_progress()
4328 u16 swtail; in qib_sdma_7220_gethead() local4340 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()
6964 u16 swtail; in qib_sdma_7322_gethead() local6976 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()