Searched refs:swhead (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 91 sring->swhead = 0; in wil_sring_alloc() 217 (sring->va + (sring->elem_size * sring->swhead)); in wil_get_next_rx_status_msg() 226 sring->swhead = (sring->swhead + 1) % sring->size; in wil_sring_advance_swhead() 227 if (sring->swhead == 0) in wil_sring_advance_swhead() 240 ring->swhead = next_head) { in wil_rx_refill_edma() 241 rc = wil_ring_alloc_skb_edma(wil, ring, ring->swhead); in wil_rx_refill_edma() 248 rc, ring->swhead); in wil_rx_refill_edma() 258 wil_w(wil, ring->hwtail, ring->swhead); in wil_rx_refill_edma() 383 ring->swhead = 0; in wil_ring_alloc_desc_ring() 890 sring->swhead); in wil_sring_reap_rx_edma() [all …]
|
D | txrx.h | 581 return ring->swhead == ring->swtail; in wil_ring_is_empty() 591 ring->swhead = (ring->swhead + n) % ring->size; in wil_ring_advance_head() 596 return wil_ring_next_tail(ring) == ring->swhead; in wil_ring_is_full() 632 u32 swhead = ring->swhead; in wil_ring_used_tx() local 635 return (ring->size + swhead - swtail) % ring->size; in wil_ring_used_tx()
|
D | txrx.c | 120 vring->swhead = 0; in wil_vring_alloc() 234 &vring->va[vring->swhead].rx.legacy; in wil_vring_free() 236 ctx = &vring->ctx[vring->swhead]; in wil_vring_free() 356 _d = (struct vring_rx_desc *)&ring->va[ring->swhead].rx.legacy; in wil_is_rx_idle() 463 i = (int)vring->swhead; in wil_vring_reap_rx() 615 (next_tail != v->swhead) && (count-- > 0); in wil_rx_refill() 1745 u32 swhead = vring->swhead; in __wil_tx_vring_tso() local 1753 uint i = swhead; in __wil_tx_vring_tso() 1861 i = (swhead + descs_used) % vring->size; in __wil_tx_vring_tso() 1993 wil_dbg_txrx(wil, "TSO: Tx swhead %d -> %d\n", swhead, vring->swhead); in __wil_tx_vring_tso() [all …]
|
D | txrx_edma.h | 422 (s->va + (s->elem_size * s->swhead)))->buff_id = 0; in wil_rx_status_reset_buff_id() 567 return (ring->swhead + 1) % ring->size; in wil_ring_next_head()
|
D | debugfs.c | 89 seq_printf(s, " swhead = %d\n", ring->swhead); in wil_print_ring() 146 u32 swhead = ring->swhead; in ring_show() local 148 int used = (ring->size + swhead - swtail) in ring_show() 206 seq_printf(s, " swhead = %d\n", sring->swhead); in wil_print_sring() 239 if (i == sring->swhead) in wil_print_sring()
|
D | wil6210.h | 527 u32 swhead; member 554 u32 swhead; member
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 361 u16 swhead, 364 TP_ARGS(sde, hwhead, swhead, txp), 368 __field(u16, swhead) 376 __entry->swhead = swhead; 389 __entry->swhead, 398 u16 hwhead, u16 swhead, 401 TP_ARGS(sde, hwhead, swhead, txp), 404 __field(u16, swhead) 412 __entry->swhead = swhead; 423 __entry->swhead,
|
D | sdma.c | 1683 u16 swhead; in sdma_gethead() local 1686 swhead = sde->descq_head & 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() 1696 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in sdma_gethead() 1700 sane = (hwhead == swhead); in sdma_gethead() 1706 hwhead, swhead, swtail, cnt); in sdma_gethead() 1713 hwhead = swhead; in sdma_gethead() 1790 u16 hwhead, swhead; in sdma_make_progress() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 4269 u16 swhead; in qib_sdma_7220_gethead() local 4281 swhead = ppd->sdma_descq_head; 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() 4290 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in qib_sdma_7220_gethead() 4294 sane = (hwhead == swhead); in qib_sdma_7220_gethead() 4304 hwhead = swhead; in qib_sdma_7220_gethead()
|
D | qib_iba7322.c | 6885 u16 swhead; in qib_sdma_7322_gethead() local 6897 swhead = ppd->sdma_descq_head; 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() 6906 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in qib_sdma_7322_gethead() 6910 sane = (hwhead == swhead); in qib_sdma_7322_gethead() 6919 hwhead = swhead; in qib_sdma_7322_gethead()
|