Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx.h581 return ring->swhead == ring->swtail; in wil_ring_is_empty()
586 return (ring->swtail + 1) % ring->size; in wil_ring_next_tail()
633 u32 swtail = ring->swtail; in wil_ring_used_tx() local
635 return (ring->size + swhead - swtail) % ring->size; in wil_ring_used_tx()
Dtxrx_edma.c236 ring->swtail = *ring->edma_rx_swtail.va; in wil_rx_refill_edma()
239 (next_head != ring->swtail); in wil_rx_refill_edma()
384 ring->swtail = 0; in wil_ring_alloc_desc_ring()
455 &ring->va[ring->swtail].tx.enhanced; in wil_ring_free_edma()
457 ctx = &ring->ctx[ring->swtail]; in wil_ring_free_edma()
461 ring->swtail); in wil_ring_free_edma()
462 ring->swtail = wil_ring_next_tail(ring); in wil_ring_free_edma()
469 ring->swtail = wil_ring_next_tail(ring); in wil_ring_free_edma()
1227 struct wil_ctx *ctx = &ring->ctx[ring->swtail]; in wil_tx_sring_handler()
1233 &ring->va[ring->swtail].tx.enhanced; in wil_tx_sring_handler()
[all …]
Dtxrx.c121 vring->swtail = 0; in wil_vring_alloc()
216 &vring->va[vring->swtail].tx.legacy; in wil_vring_free()
218 ctx = &vring->ctx[vring->swtail]; in wil_vring_free()
222 vring->swtail); in wil_vring_free()
223 vring->swtail = wil_ring_next_tail(vring); in wil_vring_free()
230 vring->swtail = wil_ring_next_tail(vring); in wil_vring_free()
616 v->swtail = next_tail) { in wil_rx_refill()
617 rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); in wil_rx_refill()
620 rc, v->swtail); in wil_rx_refill()
630 wil_w(wil, v->hwtail, v->swtail); in wil_rx_refill()
[all …]
Ddebugfs.c88 seq_printf(s, " swtail = %d\n", ring->swtail); in wil_print_ring()
147 u32 swtail = ring->swtail; in ring_show() local
148 int used = (ring->size + swhead - swtail) in ring_show()
Dwil6210.h526 u32 swtail; member
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dsdma.c1682 u16 swtail; in sdma_gethead() local
1688 swtail = READ_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_gethead()
1691 if (swhead < swtail) in sdma_gethead()
1693 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead()
1694 else if (swhead > swtail) in sdma_gethead()
1697 (hwhead <= swtail); in sdma_gethead()
1706 hwhead, swhead, swtail, cnt); in sdma_gethead()
1831 u16 swtail; in sdma_make_progress() local
1833 swtail = READ_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_make_progress()
1834 if (swtail != hwhead) { in sdma_make_progress()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba7220.c4270 u16 swtail; in qib_sdma_7220_gethead() local
4282 swtail = ppd->sdma_descq_tail; in qib_sdma_7220_gethead()
4285 if (swhead < swtail) { in qib_sdma_7220_gethead()
4287 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7220_gethead()
4288 } else if (swhead > swtail) { in qib_sdma_7220_gethead()
4291 (hwhead <= swtail); in qib_sdma_7220_gethead()
Dqib_iba7322.c6886 u16 swtail; in qib_sdma_7322_gethead() local
6898 swtail = ppd->sdma_descq_tail; in qib_sdma_7322_gethead()
6901 if (swhead < swtail) in qib_sdma_7322_gethead()
6903 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7322_gethead()
6904 else if (swhead > swtail) in qib_sdma_7322_gethead()
6907 (hwhead <= swtail); in qib_sdma_7322_gethead()