Lines Matching refs:hwhead
1708 u16 hwhead; in sdma_gethead() local
1718 hwhead = use_dmahead ? in sdma_gethead()
1735 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead()
1738 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in sdma_gethead()
1739 (hwhead <= swtail); in sdma_gethead()
1742 sane = (hwhead == swhead); in sdma_gethead()
1748 hwhead, swhead, swtail, cnt); in sdma_gethead()
1755 hwhead = swhead; in sdma_gethead()
1758 return hwhead; in sdma_gethead()
1832 u16 hwhead, swhead; in sdma_make_progress() local
1835 hwhead = sdma_gethead(sde); in sdma_make_progress()
1846 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1847 while (swhead != hwhead) { in sdma_make_progress()
1859 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1876 if (swtail != hwhead) { in sdma_make_progress()
1877 hwhead = (u16)read_sde_csr(sde, SD(HEAD)); in sdma_make_progress()