Lines Matching refs:sqp
387 struct t3_swsq *sqp) in insert_sq_cqe() argument
395 V_CQE_OPCODE(sqp->opcode) | in insert_sq_cqe()
401 cqe.u.scqe.wrid_hi = sqp->sq_wptr; in insert_sq_cqe()
411 struct t3_swsq *sqp = wq->sq + Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2); in cxio_flush_sq() local
414 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in cxio_flush_sq()
416 sqp->signaled = 0; in cxio_flush_sq()
417 insert_sq_cqe(wq, cq, sqp); in cxio_flush_sq()
419 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in cxio_flush_sq()
1075 struct t3_swsq *sqp; in flush_completed_wrs() local
1079 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in flush_completed_wrs()
1081 if (!sqp->signaled) { in flush_completed_wrs()
1083 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in flush_completed_wrs()
1084 } else if (sqp->complete) { in flush_completed_wrs()
1092 sqp->cqe.header |= htonl(V_CQE_SWCQE(1)); in flush_completed_wrs()
1094 = sqp->cqe; in flush_completed_wrs()
1096 sqp->signaled = 0; in flush_completed_wrs()
1279 struct t3_swsq *sqp; in cxio_poll_cq() local
1284 sqp = wq->sq + in cxio_poll_cq()
1286 sqp->cqe = *hw_cqe; in cxio_poll_cq()
1287 sqp->complete = 1; in cxio_poll_cq()