Lines Matching refs:hwhead
1664 u16 hwhead; in sdma_gethead() local
1674 hwhead = use_dmahead ? in sdma_gethead()
1691 sane = (hwhead >= swhead) & (hwhead <= swtail); in sdma_gethead()
1694 sane = ((hwhead >= swhead) && (hwhead < cnt)) || in sdma_gethead()
1695 (hwhead <= swtail); in sdma_gethead()
1698 sane = (hwhead == swhead); in sdma_gethead()
1704 hwhead, swhead, swtail, cnt); in sdma_gethead()
1711 hwhead = swhead; in sdma_gethead()
1714 return hwhead; in sdma_gethead()
1788 u16 hwhead, swhead; in sdma_make_progress() local
1791 hwhead = sdma_gethead(sde); in sdma_make_progress()
1802 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1803 while (swhead != hwhead) { in sdma_make_progress()
1815 trace_hfi1_sdma_progress(sde, hwhead, swhead, txp); in sdma_make_progress()
1832 if (swtail != hwhead) { in sdma_make_progress()
1833 hwhead = (u16)read_sde_csr(sde, SD(HEAD)); in sdma_make_progress()