Searched refs:wptr (Results 1 – 1 of 1) sorted by relevance
376 #define PAX_DMA_GET_CMPL_COUNT(wptr, rptr) (((wptr) >= (rptr)) ? \ argument377 ((wptr) - (rptr)) : (PAX_DMA_MAX_CMPL_COUNT - (rptr) + (wptr)))380 #define PAX_DMA_CURR_CMPL_IDX(wptr) \ argument381 (((wptr) == 0) ? PAX_DMA_LAST_CMPL_IDX : (wptr) - 1)