Lines Matching refs:sqp
385 struct t3_swsq *sqp) in insert_sq_cqe() argument
393 V_CQE_OPCODE(sqp->opcode) | in insert_sq_cqe()
399 cqe.u.scqe.wrid_hi = sqp->sq_wptr; in insert_sq_cqe()
409 struct t3_swsq *sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in cxio_flush_sq() local
412 sqp->signaled = 0; in cxio_flush_sq()
413 insert_sq_cqe(wq, cq, sqp); in cxio_flush_sq()
415 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in cxio_flush_sq()
1064 struct t3_swsq *sqp; in flush_completed_wrs() local
1068 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in flush_completed_wrs()
1070 if (!sqp->signaled) { in flush_completed_wrs()
1072 sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); in flush_completed_wrs()
1073 } else if (sqp->complete) { in flush_completed_wrs()
1081 sqp->cqe.header |= htonl(V_CQE_SWCQE(1)); in flush_completed_wrs()
1083 = sqp->cqe; in flush_completed_wrs()
1085 sqp->signaled = 0; in flush_completed_wrs()
1267 struct t3_swsq *sqp; in cxio_poll_cq() local
1273 sqp = wq->sq + in cxio_poll_cq()
1275 sqp->cqe = *hw_cqe; in cxio_poll_cq()
1276 sqp->complete = 1; in cxio_poll_cq()