Lines Matching refs:cidx
51 __be16 cidx; member
175 u16 cidx; member
234 #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx)
301 u16 cidx; member
330 u16 cidx; member
378 if (++wq->rq.cidx == wq->rq.size) in t4_rq_consume()
379 wq->rq.cidx = 0; in t4_rq_consume()
425 if (wq->sq.cidx == wq->sq.flush_cidx) in t4_sq_consume()
428 if (++wq->sq.cidx == wq->sq.size) in t4_sq_consume()
429 wq->sq.cidx = 0; in t4_sq_consume()
556 u16 cidx; member
618 cq->bits_type_ts = cq->queue[cq->cidx].bits_type_ts; in t4_hwcq_consume()
626 if (++cq->cidx == cq->size) { in t4_hwcq_consume()
627 cq->cidx = 0; in t4_hwcq_consume()
642 if (cq->cidx == 0) in t4_next_hw_cqe()
645 prev_cidx = cq->cidx - 1; in t4_next_hw_cqe()
652 } else if (t4_valid_cqe(cq, &cq->queue[cq->cidx])) { in t4_next_hw_cqe()
656 *cqe = &cq->queue[cq->cidx]; in t4_next_hw_cqe()