Lines Matching refs:cidx
50 __be16 cidx; member
174 u16 cidx; member
233 #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx)
298 u16 cidx; member
325 u16 cidx; member
374 if (++wq->rq.cidx == wq->rq.size) in t4_rq_consume()
375 wq->rq.cidx = 0; in t4_rq_consume()
421 if (wq->sq.cidx == wq->sq.flush_cidx) in t4_sq_consume()
424 if (++wq->sq.cidx == wq->sq.size) in t4_sq_consume()
425 wq->sq.cidx = 0; in t4_sq_consume()
545 u16 cidx; member
600 cq->bits_type_ts = cq->queue[cq->cidx].bits_type_ts; in t4_hwcq_consume()
609 if (++cq->cidx == cq->size) { in t4_hwcq_consume()
610 cq->cidx = 0; in t4_hwcq_consume()
625 if (cq->cidx == 0) in t4_next_hw_cqe()
628 prev_cidx = cq->cidx - 1; in t4_next_hw_cqe()
635 } else if (t4_valid_cqe(cq, &cq->queue[cq->cidx])) { in t4_next_hw_cqe()
639 *cqe = &cq->queue[cq->cidx]; in t4_next_hw_cqe()