swhead 1723 drivers/infiniband/hw/hfi1/sdma.c u16 swhead; swhead 1726 drivers/infiniband/hw/hfi1/sdma.c swhead = sde->descq_head & sde->sdma_mask; swhead 1731 drivers/infiniband/hw/hfi1/sdma.c if (swhead < swtail) swhead 1733 drivers/infiniband/hw/hfi1/sdma.c sane = (hwhead >= swhead) & (hwhead <= swtail); swhead 1734 drivers/infiniband/hw/hfi1/sdma.c else if (swhead > swtail) swhead 1736 drivers/infiniband/hw/hfi1/sdma.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || swhead 1740 drivers/infiniband/hw/hfi1/sdma.c sane = (hwhead == swhead); swhead 1746 drivers/infiniband/hw/hfi1/sdma.c hwhead, swhead, swtail, cnt); swhead 1753 drivers/infiniband/hw/hfi1/sdma.c hwhead = swhead; swhead 1830 drivers/infiniband/hw/hfi1/sdma.c u16 hwhead, swhead; swhead 1843 drivers/infiniband/hw/hfi1/sdma.c swhead = sde->descq_head & sde->sdma_mask; swhead 1844 drivers/infiniband/hw/hfi1/sdma.c trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); swhead 1845 drivers/infiniband/hw/hfi1/sdma.c while (swhead != hwhead) { swhead 1847 drivers/infiniband/hw/hfi1/sdma.c swhead = ++sde->descq_head & sde->sdma_mask; swhead 1850 drivers/infiniband/hw/hfi1/sdma.c if (txp && txp->next_descq_idx == swhead) { swhead 1857 drivers/infiniband/hw/hfi1/sdma.c trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); swhead 401 drivers/infiniband/hw/hfi1/trace_tx.h u16 swhead, swhead 404 drivers/infiniband/hw/hfi1/trace_tx.h TP_ARGS(sde, hwhead, swhead, txp), swhead 408 drivers/infiniband/hw/hfi1/trace_tx.h __field(u16, swhead) swhead 416 drivers/infiniband/hw/hfi1/trace_tx.h __entry->swhead = swhead; swhead 429 drivers/infiniband/hw/hfi1/trace_tx.h __entry->swhead, swhead 438 drivers/infiniband/hw/hfi1/trace_tx.h u16 hwhead, u16 swhead, swhead 441 drivers/infiniband/hw/hfi1/trace_tx.h TP_ARGS(sde, hwhead, swhead, txp), swhead 444 drivers/infiniband/hw/hfi1/trace_tx.h __field(u16, swhead) swhead 452 drivers/infiniband/hw/hfi1/trace_tx.h __entry->swhead = swhead; swhead 463 drivers/infiniband/hw/hfi1/trace_tx.h __entry->swhead, swhead 4269 drivers/infiniband/hw/qib/qib_iba7220.c u16 swhead; swhead 4281 drivers/infiniband/hw/qib/qib_iba7220.c swhead = ppd->sdma_descq_head; swhead 4285 drivers/infiniband/hw/qib/qib_iba7220.c if (swhead < swtail) { swhead 4287 drivers/infiniband/hw/qib/qib_iba7220.c sane = (hwhead >= swhead) & (hwhead <= swtail); swhead 4288 drivers/infiniband/hw/qib/qib_iba7220.c } else if (swhead > swtail) { swhead 4290 drivers/infiniband/hw/qib/qib_iba7220.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || swhead 4294 drivers/infiniband/hw/qib/qib_iba7220.c sane = (hwhead == swhead); swhead 4304 drivers/infiniband/hw/qib/qib_iba7220.c hwhead = swhead; swhead 6916 drivers/infiniband/hw/qib/qib_iba7322.c u16 swhead; swhead 6928 drivers/infiniband/hw/qib/qib_iba7322.c swhead = ppd->sdma_descq_head; swhead 6932 drivers/infiniband/hw/qib/qib_iba7322.c if (swhead < swtail) swhead 6934 drivers/infiniband/hw/qib/qib_iba7322.c sane = (hwhead >= swhead) & (hwhead <= swtail); swhead 6935 drivers/infiniband/hw/qib/qib_iba7322.c else if (swhead > swtail) swhead 6937 drivers/infiniband/hw/qib/qib_iba7322.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || swhead 6941 drivers/infiniband/hw/qib/qib_iba7322.c sane = (hwhead == swhead); swhead 6950 drivers/infiniband/hw/qib/qib_iba7322.c hwhead = swhead; swhead 100 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " swhead = %d\n", ring->swhead); swhead 157 drivers/net/wireless/ath/wil6210/debugfs.c u32 swhead = ring->swhead; swhead 159 drivers/net/wireless/ath/wil6210/debugfs.c int used = (ring->size + swhead - swtail) swhead 217 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " swhead = %d\n", sring->swhead); swhead 250 drivers/net/wireless/ath/wil6210/debugfs.c if (i == sring->swhead) swhead 130 drivers/net/wireless/ath/wil6210/txrx.c vring->swhead = 0; swhead 244 drivers/net/wireless/ath/wil6210/txrx.c &vring->va[vring->swhead].rx.legacy; swhead 246 drivers/net/wireless/ath/wil6210/txrx.c ctx = &vring->ctx[vring->swhead]; swhead 368 drivers/net/wireless/ath/wil6210/txrx.c _d = (struct vring_rx_desc *)&ring->va[ring->swhead].rx.legacy; swhead 476 drivers/net/wireless/ath/wil6210/txrx.c i = (int)vring->swhead; swhead 629 drivers/net/wireless/ath/wil6210/txrx.c (next_tail != v->swhead) && (count-- > 0); swhead 1750 drivers/net/wireless/ath/wil6210/txrx.c u32 swhead = vring->swhead; swhead 1758 drivers/net/wireless/ath/wil6210/txrx.c uint i = swhead; swhead 1868 drivers/net/wireless/ath/wil6210/txrx.c i = (swhead + descs_used) % vring->size; swhead 2000 drivers/net/wireless/ath/wil6210/txrx.c wil_dbg_txrx(wil, "TSO: Tx swhead %d -> %d\n", swhead, vring->swhead); swhead 2012 drivers/net/wireless/ath/wil6210/txrx.c wil_w(wil, vring->hwtail, vring->swhead); swhead 2019 drivers/net/wireless/ath/wil6210/txrx.c i = (swhead + descs_used - 1) % vring->size; swhead 2039 drivers/net/wireless/ath/wil6210/txrx.c u32 swhead = ring->swhead; swhead 2045 drivers/net/wireless/ath/wil6210/txrx.c uint i = swhead; swhead 2102 drivers/net/wireless/ath/wil6210/txrx.c i = (swhead + f + 1) % ring->size; swhead 2153 drivers/net/wireless/ath/wil6210/txrx.c wil_dbg_txrx(wil, "Tx[%2d] swhead %d -> %d\n", ring_index, swhead, swhead 2154 drivers/net/wireless/ath/wil6210/txrx.c ring->swhead); swhead 2155 drivers/net/wireless/ath/wil6210/txrx.c trace_wil6210_tx(ring_index, swhead, skb->len, nr_frags); swhead 2167 drivers/net/wireless/ath/wil6210/txrx.c wil_w(wil, ring->hwtail, ring->swhead); swhead 2176 drivers/net/wireless/ath/wil6210/txrx.c i = (swhead + f) % ring->size; swhead 592 drivers/net/wireless/ath/wil6210/txrx.h return ring->swhead == ring->swtail; swhead 602 drivers/net/wireless/ath/wil6210/txrx.h ring->swhead = (ring->swhead + n) % ring->size; swhead 607 drivers/net/wireless/ath/wil6210/txrx.h return wil_ring_next_tail(ring) == ring->swhead; swhead 643 drivers/net/wireless/ath/wil6210/txrx.h u32 swhead = ring->swhead; swhead 646 drivers/net/wireless/ath/wil6210/txrx.h return (ring->size + swhead - swtail) % ring->size; swhead 102 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead = 0; swhead 230 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); swhead 239 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead = (sring->swhead + 1) % sring->size; swhead 240 drivers/net/wireless/ath/wil6210/txrx_edma.c if (sring->swhead == 0) swhead 253 drivers/net/wireless/ath/wil6210/txrx_edma.c ring->swhead = next_head) { swhead 254 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_ring_alloc_skb_edma(wil, ring, ring->swhead); swhead 261 drivers/net/wireless/ath/wil6210/txrx_edma.c rc, ring->swhead); swhead 271 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, ring->hwtail, ring->swhead); swhead 396 drivers/net/wireless/ath/wil6210/txrx_edma.c ring->swhead = 0; swhead 903 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead); swhead 909 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); swhead 916 drivers/net/wireless/ath/wil6210/txrx_edma.c buff_id, sring->swhead); swhead 962 drivers/net/wireless/ath/wil6210/txrx_edma.c cid, sring->swhead); swhead 1113 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, (sring->swhead - 1) % sring->size); swhead 1148 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); swhead 1300 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, sring->swhead); swhead 1313 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, (sring->swhead - 1) % sring->size); swhead 1418 drivers/net/wireless/ath/wil6210/txrx_edma.c u32 swhead = ring->swhead; swhead 1465 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_tx_tso_gen_desc(wil, skb->data, hdrlen, swhead, swhead 1476 drivers/net/wireless/ath/wil6210/txrx_edma.c (swhead + descs_used) % ring->size, swhead 1493 drivers/net/wireless/ath/wil6210/txrx_edma.c (swhead + descs_used) % ring->size, swhead 1514 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_dbg_txrx(wil, "TSO: Tx swhead %d -> %d\n", swhead, ring->swhead); swhead 1526 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, ring->hwtail, ring->swhead); swhead 1534 drivers/net/wireless/ath/wil6210/txrx_edma.c int i = (swhead + descs_used - 1) % ring->size; swhead 433 drivers/net/wireless/ath/wil6210/txrx_edma.h (s->va + (s->elem_size * s->swhead)))->buff_id = 0; swhead 578 drivers/net/wireless/ath/wil6210/txrx_edma.h return (ring->swhead + 1) % ring->size; swhead 536 drivers/net/wireless/ath/wil6210/wil6210.h u32 swhead; swhead 563 drivers/net/wireless/ath/wil6210/wil6210.h u32 swhead;