Lines Matching refs:swhead
1723 u16 swhead;
1726 swhead = sde->descq_head & sde->sdma_mask;
1731 if (swhead < swtail)
1733 sane = (hwhead >= swhead) & (hwhead <= swtail);
1734 else if (swhead > swtail)
1736 sane = ((hwhead >= swhead) && (hwhead < cnt)) ||
1740 sane = (hwhead == swhead);
1746 hwhead, swhead, swtail, cnt);
1753 hwhead = swhead;
1830 u16 hwhead, swhead;
1843 swhead = sde->descq_head & sde->sdma_mask;
1844 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp);
1845 while (swhead != hwhead) {
1847 swhead = ++sde->descq_head & sde->sdma_mask;
1850 if (txp && txp->next_descq_idx == swhead) {
1857 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp);