Q_PTR2IDX          92 drivers/infiniband/hw/cxgb3/cxio_hal.c 	if (Q_PTR2IDX((cq->rptr), cq->size_log2) != ret) {
Q_PTR2IDX         101 drivers/infiniband/hw/cxgb3/cxio_hal.c 		while (Q_PTR2IDX((rptr+1), cq->size_log2) != ret)
Q_PTR2IDX         109 drivers/infiniband/hw/cxgb3/cxio_hal.c 		cqe = cq->queue + Q_PTR2IDX(rptr, cq->size_log2);
Q_PTR2IDX         344 drivers/infiniband/hw/cxgb3/cxio_hal.c 	*(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) = cqe;
Q_PTR2IDX         383 drivers/infiniband/hw/cxgb3/cxio_hal.c 	*(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) = cqe;
Q_PTR2IDX         391 drivers/infiniband/hw/cxgb3/cxio_hal.c 	struct t3_swsq *sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2);
Q_PTR2IDX         397 drivers/infiniband/hw/cxgb3/cxio_hal.c 		sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2);
Q_PTR2IDX         415 drivers/infiniband/hw/cxgb3/cxio_hal.c 		swcqe = cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2);
Q_PTR2IDX         450 drivers/infiniband/hw/cxgb3/cxio_hal.c 		cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2));
Q_PTR2IDX         469 drivers/infiniband/hw/cxgb3/cxio_hal.c 		cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2));
Q_PTR2IDX        1048 drivers/infiniband/hw/cxgb3/cxio_hal.c 	sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2);
Q_PTR2IDX        1052 drivers/infiniband/hw/cxgb3/cxio_hal.c 			sqp = wq->sq + Q_PTR2IDX(ptr,  wq->sq_size_log2);
Q_PTR2IDX        1059 drivers/infiniband/hw/cxgb3/cxio_hal.c 				 __func__, Q_PTR2IDX(ptr,  wq->sq_size_log2),
Q_PTR2IDX        1060 drivers/infiniband/hw/cxgb3/cxio_hal.c 				 Q_PTR2IDX(cq->sw_wptr, cq->size_log2));
Q_PTR2IDX        1062 drivers/infiniband/hw/cxgb3/cxio_hal.c 			*(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2))
Q_PTR2IDX        1089 drivers/infiniband/hw/cxgb3/cxio_hal.c 	u32 wptr = Q_PTR2IDX(wq->sq_wptr, wq->sq_size_log2);
Q_PTR2IDX        1091 drivers/infiniband/hw/cxgb3/cxio_hal.c 	while (Q_PTR2IDX(rptr, wq->sq_size_log2) != wptr) {
Q_PTR2IDX        1092 drivers/infiniband/hw/cxgb3/cxio_hal.c 		wq->oldest_read = wq->sq + Q_PTR2IDX(rptr, wq->sq_size_log2);
Q_PTR2IDX        1251 drivers/infiniband/hw/cxgb3/cxio_hal.c 			 Q_PTR2IDX(CQE_WRID_SQ_WPTR(*hw_cqe),
Q_PTR2IDX        1254 drivers/infiniband/hw/cxgb3/cxio_hal.c 		      Q_PTR2IDX(CQE_WRID_SQ_WPTR(*hw_cqe), wq->sq_size_log2);
Q_PTR2IDX        1271 drivers/infiniband/hw/cxgb3/cxio_hal.c 			 Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2));
Q_PTR2IDX        1272 drivers/infiniband/hw/cxgb3/cxio_hal.c 		*cookie = wq->sq[Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2)].wr_id;
Q_PTR2IDX        1276 drivers/infiniband/hw/cxgb3/cxio_hal.c 			 Q_PTR2IDX(wq->rq_rptr, wq->rq_size_log2));
Q_PTR2IDX        1277 drivers/infiniband/hw/cxgb3/cxio_hal.c 		*cookie = wq->rq[Q_PTR2IDX(wq->rq_rptr, wq->rq_size_log2)].wr_id;
Q_PTR2IDX        1278 drivers/infiniband/hw/cxgb3/cxio_hal.c 		if (wq->rq[Q_PTR2IDX(wq->rq_rptr, wq->rq_size_log2)].pbl_addr)
Q_PTR2IDX        1280 drivers/infiniband/hw/cxgb3/cxio_hal.c 				wq->rq[Q_PTR2IDX(wq->rq_rptr,
Q_PTR2IDX         771 drivers/infiniband/hw/cxgb3/cxio_wr.h 	cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2));
Q_PTR2IDX         782 drivers/infiniband/hw/cxgb3/cxio_wr.h 		cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2));
Q_PTR2IDX         793 drivers/infiniband/hw/cxgb3/cxio_wr.h 		cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2));
Q_PTR2IDX         796 drivers/infiniband/hw/cxgb3/cxio_wr.h 	cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2));
Q_PTR2IDX         176 drivers/infiniband/hw/cxgb3/iwch_qp.c 				Q_PTR2IDX((wq->wptr+1), wq->size_log2));
Q_PTR2IDX         281 drivers/infiniband/hw/cxgb3/iwch_qp.c 	qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr,
Q_PTR2IDX         283 drivers/infiniband/hw/cxgb3/iwch_qp.c 	qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr,
Q_PTR2IDX         344 drivers/infiniband/hw/cxgb3/iwch_qp.c 	qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr,
Q_PTR2IDX         346 drivers/infiniband/hw/cxgb3/iwch_qp.c 	qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr,
Q_PTR2IDX         385 drivers/infiniband/hw/cxgb3/iwch_qp.c 		idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2);
Q_PTR2IDX         393 drivers/infiniband/hw/cxgb3/iwch_qp.c 		      Q_PTR2IDX(qhp->wq.sq_wptr, qhp->wq.sq_size_log2);
Q_PTR2IDX         449 drivers/infiniband/hw/cxgb3/iwch_qp.c 			 Q_PTR2IDX(qhp->wq.sq_wptr, qhp->wq.sq_size_log2),
Q_PTR2IDX         495 drivers/infiniband/hw/cxgb3/iwch_qp.c 		idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2);