Searched refs:swhead (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 97 sring->swhead = 0; in wil_sring_alloc() 221 memcpy(msg, (void *)(sring->va + (sring->elem_size * sring->swhead)), in wil_get_next_rx_status_msg() 227 sring->swhead = (sring->swhead + 1) % sring->size; in wil_sring_advance_swhead() 228 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() 268 u32 swhead = (ring->swhead + 1) % ring->size; in wil_move_all_rx_buff_to_free_list() local 272 for (; next_tail = wil_ring_next_tail(ring), (next_tail != swhead); in wil_move_all_rx_buff_to_free_list() [all …]
|
D | txrx.h | 545 return ring->swhead == ring->swtail; in wil_ring_is_empty() 555 ring->swhead = (ring->swhead + n) % ring->size; in wil_ring_advance_head() 560 return wil_ring_next_tail(ring) == ring->swhead; in wil_ring_is_full() 582 u32 swhead = ring->swhead; in wil_ring_used_tx() local 585 return (ring->size + swhead - swtail) % ring->size; in wil_ring_used_tx()
|
D | txrx.c | 131 vring->swhead = 0; in wil_vring_alloc() 245 &vring->va[vring->swhead].rx.legacy; in wil_vring_free() 247 ctx = &vring->ctx[vring->swhead]; in wil_vring_free() 422 _d = (struct vring_rx_desc *)&ring->va[ring->swhead].rx.legacy; in wil_is_rx_idle() 460 i = (int)vring->swhead; in wil_vring_reap_rx() 615 (next_tail != v->swhead) && (count-- > 0); in wil_rx_refill() 1450 u32 swhead = vring->swhead; in __wil_tx_vring_tso() local 1458 uint i = swhead; in __wil_tx_vring_tso() 1568 i = (swhead + descs_used) % vring->size; in __wil_tx_vring_tso() 1697 wil_dbg_txrx(wil, "TSO: Tx swhead %d -> %d\n", swhead, vring->swhead); in __wil_tx_vring_tso() [all …]
|
D | txrx_edma.h | 533 return (ring->swhead + 1) % ring->size; in wil_ring_next_head()
|
D | debugfs.c | 98 seq_printf(s, " swhead = %d\n", ring->swhead); in wil_print_ring() 141 u32 swhead = ring->swhead; in wil_ring_debugfs_show() local 143 int used = (ring->size + swhead - swtail) in wil_ring_debugfs_show() 212 seq_printf(s, " swhead = %d\n", sring->swhead); in wil_print_sring() 231 if (i == sring->swhead) in wil_print_sring()
|
D | wil6210.h | 523 u32 swhead; member 550 u32 swhead; member
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 393 u16 swhead, 396 TP_ARGS(sde, hwhead, swhead, txp), 400 __field(u16, swhead) 408 __entry->swhead = swhead; 421 __entry->swhead, 430 u16 hwhead, u16 swhead, 433 TP_ARGS(sde, hwhead, swhead, txp), 436 __field(u16, swhead) 444 __entry->swhead = swhead; 455 __entry->swhead,
|
D | sdma.c | 1714 u16 swhead; in sdma_gethead() local 1717 swhead = sde->descq_head & sde->sdma_mask; in sdma_gethead() 1722 if (swhead < swtail) in sdma_gethead() 1724 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead() 1725 else if (swhead > swtail) in sdma_gethead() 1727 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in sdma_gethead() 1731 sane = (hwhead == swhead); in sdma_gethead() 1737 hwhead, swhead, swtail, cnt); in sdma_gethead() 1744 hwhead = swhead; in sdma_gethead() 1823 u16 hwhead, swhead; in sdma_make_progress() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 4274 u16 swhead; in qib_sdma_7220_gethead() local 4286 swhead = ppd->sdma_descq_head; in qib_sdma_7220_gethead() 4290 if (swhead < swtail) { in qib_sdma_7220_gethead() 4292 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7220_gethead() 4293 } else if (swhead > swtail) { in qib_sdma_7220_gethead() 4295 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in qib_sdma_7220_gethead() 4299 sane = (hwhead == swhead); in qib_sdma_7220_gethead() 4309 hwhead = swhead; in qib_sdma_7220_gethead()
|
D | qib_iba7322.c | 6922 u16 swhead; in qib_sdma_7322_gethead() local 6934 swhead = ppd->sdma_descq_head; in qib_sdma_7322_gethead() 6938 if (swhead < swtail) in qib_sdma_7322_gethead() 6940 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7322_gethead() 6941 else if (swhead > swtail) in qib_sdma_7322_gethead() 6943 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in qib_sdma_7322_gethead() 6947 sane = (hwhead == swhead); in qib_sdma_7322_gethead() 6956 hwhead = swhead; in qib_sdma_7322_gethead()
|