Searched refs:swtail (Results 1 – 2 of 2) sorted by relevance
4323 u16 swtail; in qib_sdma_7220_gethead() local4335 swtail = ppd->sdma_descq_tail; in qib_sdma_7220_gethead()4338 if (swhead < swtail) { in qib_sdma_7220_gethead()4340 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7220_gethead()4341 } else if (swhead > swtail) { in qib_sdma_7220_gethead()4344 (hwhead <= swtail); in qib_sdma_7220_gethead()
6547 u16 swtail; in qib_sdma_7322_gethead() local6559 swtail = ppd->sdma_descq_tail; in qib_sdma_7322_gethead()6562 if (swhead < swtail) in qib_sdma_7322_gethead()6564 sane = (hwhead >= swhead) & (hwhead <= swtail); in qib_sdma_7322_gethead()6565 else if (swhead > swtail) in qib_sdma_7322_gethead()6568 (hwhead <= swtail); in qib_sdma_7322_gethead()