Lines Matching refs:hwhead
1666 u16 hwhead; in sdma_gethead() local
1676 hwhead = use_dmahead ? in sdma_gethead()
1693 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead()
1696 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in sdma_gethead()
1697 (hwhead <= swtail); in sdma_gethead()
1700 sane = (hwhead == swhead); in sdma_gethead()
1706 hwhead, swhead, swtail, cnt); in sdma_gethead()
1713 hwhead = swhead; in sdma_gethead()
1716 return hwhead; in sdma_gethead()
1790 u16 hwhead, swhead; in sdma_make_progress() local
1793 hwhead = sdma_gethead(sde); in sdma_make_progress()
1804 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1805 while (swhead != hwhead) { in sdma_make_progress()
1817 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1834 if (swtail != hwhead) { in sdma_make_progress()
1835 hwhead = (u16)read_sde_csr(sde, SD(HEAD)); in sdma_make_progress()