Lines Matching refs:cidx
51 __be16 cidx; member
184 u16 cidx; member
276 #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx)
345 u16 cidx; member
375 u16 cidx; member
412 u16 cidx; member
464 srq->cidx++; in t4_srq_consume_ooo()
465 if (srq->cidx == srq->size) in t4_srq_consume_ooo()
466 srq->cidx = 0; in t4_srq_consume_ooo()
467 srq->queue[srq->size].status.host_cidx = srq->cidx; in t4_srq_consume_ooo()
474 if (++srq->cidx == srq->size) in t4_srq_consume()
475 srq->cidx = 0; in t4_srq_consume()
476 srq->queue[srq->size].status.host_cidx = srq->cidx; in t4_srq_consume()
512 if (++wq->rq.cidx == wq->rq.size) in t4_rq_consume()
513 wq->rq.cidx = 0; in t4_rq_consume()
558 if (wq->sq.cidx == wq->sq.flush_cidx) in t4_sq_consume()
561 if (++wq->sq.cidx == wq->sq.size) in t4_sq_consume()
562 wq->sq.cidx = 0; in t4_sq_consume()
706 u16 cidx; member
770 cq->bits_type_ts = cq->queue[cq->cidx].bits_type_ts; in t4_hwcq_consume()
778 if (++cq->cidx == cq->size) { in t4_hwcq_consume()
779 cq->cidx = 0; in t4_hwcq_consume()
791 return cq->sw_in_use || t4_valid_cqe(cq, &cq->queue[cq->cidx]); in t4_cq_notempty()
799 if (cq->cidx == 0) in t4_next_hw_cqe()
802 prev_cidx = cq->cidx - 1; in t4_next_hw_cqe()
808 } else if (t4_valid_cqe(cq, &cq->queue[cq->cidx])) { in t4_next_hw_cqe()
812 *cqe = &cq->queue[cq->cidx]; in t4_next_hw_cqe()