rcq               106 arch/s390/include/asm/fcx.h 	u8 rcq[16];
rcq               207 arch/s390/include/asm/fcx.h 	u32 rcq:8;
rcq              1277 drivers/infiniband/core/uverbs_cmd.c 	struct ib_cq			*scq = NULL, *rcq = NULL;
rcq              1349 drivers/infiniband/core/uverbs_cmd.c 					rcq = uobj_get_obj_read(
rcq              1352 drivers/infiniband/core/uverbs_cmd.c 					if (!rcq) {
rcq              1364 drivers/infiniband/core/uverbs_cmd.c 			rcq = rcq ?: scq;
rcq              1378 drivers/infiniband/core/uverbs_cmd.c 	attr.recv_cq       = rcq;
rcq              1475 drivers/infiniband/core/uverbs_cmd.c 	if (rcq && rcq != scq)
rcq              1476 drivers/infiniband/core/uverbs_cmd.c 		uobj_put_obj_read(rcq);
rcq              1493 drivers/infiniband/core/uverbs_cmd.c 	if (rcq && rcq != scq)
rcq              1494 drivers/infiniband/core/uverbs_cmd.c 		uobj_put_obj_read(rcq);
rcq              1861 drivers/infiniband/core/verbs.c 	struct ib_cq *scq, *rcq;
rcq              1877 drivers/infiniband/core/verbs.c 	rcq  = qp->recv_cq;
rcq              1899 drivers/infiniband/core/verbs.c 		if (rcq)
rcq              1900 drivers/infiniband/core/verbs.c 			atomic_dec(&rcq->usecnt);
rcq               739 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	__acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock)
rcq               744 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	if (qp->rcq != qp->scq)
rcq               745 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		spin_lock(&qp->rcq->cq_lock);
rcq               747 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		__acquire(&qp->rcq->cq_lock);
rcq               754 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	__releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock)
rcq               756 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	if (qp->rcq != qp->scq)
rcq               757 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		spin_unlock(&qp->rcq->cq_lock);
rcq               759 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		__release(&qp->rcq->cq_lock);
rcq               970 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	qp->qplib_qp.rcq = qp1_qp->rcq;
rcq              1068 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		qp->qplib_qp.rcq = &cq->qplib_cq;
rcq              1069 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		qp->rcq = cq;
rcq                93 drivers/infiniband/hw/bnxt_re/ib_verbs.h 	struct bnxt_re_cq	*rcq;
rcq                70 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	struct bnxt_qplib_cq *scq, *rcq;
rcq                73 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	rcq = qp->rcq;
rcq                84 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			dev_dbg(&rcq->hwq.pdev->dev,
rcq                86 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			list_add_tail(&qp->rq_flush, &rcq->rqf_head);
rcq                94 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	__acquires(&qp->scq->flush_lock) __acquires(&qp->rcq->flush_lock)
rcq                97 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (qp->scq == qp->rcq)
rcq                98 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		__acquire(&qp->rcq->flush_lock);
rcq               100 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		spin_lock(&qp->rcq->flush_lock);
rcq               105 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	__releases(&qp->scq->flush_lock) __releases(&qp->rcq->flush_lock)
rcq               107 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (qp->scq == qp->rcq)
rcq               108 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		__release(&qp->rcq->flush_lock);
rcq               110 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		spin_unlock(&qp->rcq->flush_lock);
rcq               145 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	__clean_cq(qp->rcq, (u64)(unsigned long)qp);
rcq               813 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		if (qp->rcq)
rcq               814 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			req.rcq_cid = cpu_to_le32(qp->rcq->id);
rcq              1000 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (qp->rcq)
rcq              1001 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		req.rcq_cid = cpu_to_le32(qp->rcq->id);
rcq              1884 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			nq_work->cq = qp->rcq;
rcq              1885 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			nq_work->nq = qp->rcq->nq;
rcq              1887 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			queue_work(qp->rcq->nq->cqn_wq, &nq_work->work);
rcq              2832 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (qp->scq != qp->rcq)
rcq              2833 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		flush_workqueue(qp->rcq->nq->cqn_wq);
rcq               295 drivers/infiniband/hw/bnxt_re/qplib_fp.h 	struct bnxt_qplib_cq		*rcq;
rcq               771 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.rcq = ((struct iwch_cq *) attrs->recv_cq)->cq.cqid;
rcq               133 drivers/infiniband/hw/cxgb3/iwch_provider.h 	u32 rcq;
rcq               777 drivers/infiniband/hw/cxgb3/iwch_qp.c 	rchp = get_chp(qhp->rhp, qhp->attr.rcq);
rcq               826 drivers/infiniband/hw/cxgb3/iwch_qp.c 	init_attr.rcqid = qhp->attr.rcq;
rcq               141 drivers/infiniband/hw/cxgb4/ev.c 		cqid = qhp->attr.rcq;
rcq               457 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	u32 rcq;
rcq               200 drivers/infiniband/hw/cxgb4/qp.c 		     struct t4_cq *rcq, struct t4_cq *scq,
rcq               367 drivers/infiniband/hw/cxgb4/qp.c 			FW_RI_RES_WR_IQID_V(rcq->cqid));
rcq              1812 drivers/infiniband/hw/cxgb4/qp.c 	wqe->u.init.rcqid = cpu_to_be32(qhp->attr.rcq);
rcq              2198 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid;
rcq                62 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c static void pvrdma_lock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq,
rcq                65 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	__acquires(scq->cq_lock) __acquires(rcq->cq_lock)
rcq                67 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (scq == rcq) {
rcq                69 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		__acquire(rcq->cq_lock);
rcq                70 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	} else if (scq->cq_handle < rcq->cq_handle) {
rcq                72 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		spin_lock_irqsave_nested(&rcq->cq_lock, *rcq_flags,
rcq                75 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		spin_lock_irqsave(&rcq->cq_lock, *rcq_flags);
rcq                81 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c static void pvrdma_unlock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq,
rcq                84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	__releases(scq->cq_lock) __releases(rcq->cq_lock)
rcq                86 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (scq == rcq) {
rcq                87 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		__release(rcq->cq_lock);
rcq                89 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	} else if (scq->cq_handle < rcq->cq_handle) {
rcq                90 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		spin_unlock_irqrestore(&rcq->cq_lock, *rcq_flags);
rcq                94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		spin_unlock_irqrestore(&rcq->cq_lock, *rcq_flags);
rcq               100 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	struct pvrdma_cq *scq, *rcq;
rcq               104 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	get_cqs(qp, &scq, &rcq);
rcq               105 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_lock_cqs(scq, rcq, &scq_flags, &rcq_flags);
rcq               108 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (scq != rcq)
rcq               109 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		_pvrdma_flush_cqe(qp, rcq);
rcq               111 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_unlock_cqs(scq, rcq, &scq_flags, &rcq_flags);
rcq               407 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	struct pvrdma_cq *rcq;
rcq               411 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	get_cqs(qp, &scq, &rcq);
rcq               412 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_lock_cqs(scq, rcq, &scq_flags, &rcq_flags);
rcq               415 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (scq != rcq)
rcq               416 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		_pvrdma_flush_cqe(qp, rcq);
rcq               422 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_unlock_cqs(scq, rcq, &scq_flags, &rcq_flags);
rcq               343 drivers/infiniband/sw/rxe/rxe_qp.c 	struct rxe_cq *rcq = to_rcq(init->recv_cq);
rcq               348 drivers/infiniband/sw/rxe/rxe_qp.c 	rxe_add_ref(rcq);
rcq               354 drivers/infiniband/sw/rxe/rxe_qp.c 	qp->rcq			= rcq;
rcq               379 drivers/infiniband/sw/rxe/rxe_qp.c 	rxe_drop_ref(rcq);
rcq               822 drivers/infiniband/sw/rxe/rxe_qp.c 	if (qp->rcq)
rcq               823 drivers/infiniband/sw/rxe/rxe_qp.c 		rxe_drop_ref(qp->rcq);
rcq               851 drivers/infiniband/sw/rxe/rxe_resp.c 	if (qp->rcq->is_user) {
rcq               874 drivers/infiniband/sw/rxe/rxe_resp.c 		if (qp->rcq->is_user) {
rcq               944 drivers/infiniband/sw/rxe/rxe_resp.c 	if (rxe_cq_post(qp->rcq, &cqe, pkt ? bth_se(pkt) : 1))
rcq               246 drivers/infiniband/sw/rxe/rxe_verbs.h 	struct rxe_cq		*rcq;
rcq               445 drivers/infiniband/sw/siw/siw.h 	struct siw_cq *rcq;
rcq              1108 drivers/infiniband/sw/siw/siw_qp.c 	struct siw_cq *cq = qp->rcq;
rcq               317 drivers/infiniband/sw/siw/siw_verbs.c 	struct siw_cq *scq = NULL, *rcq = NULL;
rcq               357 drivers/infiniband/sw/siw/siw_verbs.c 	rcq = to_siw_cq(attrs->recv_cq);
rcq               359 drivers/infiniband/sw/siw/siw_verbs.c 	if (!scq || (!rcq && !attrs->srq)) {
rcq               418 drivers/infiniband/sw/siw/siw_verbs.c 	qp->rcq = rcq;
rcq               640 drivers/infiniband/sw/siw/siw_verbs.c 	qp->scq = qp->rcq = NULL;
rcq              10564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c #define BNX2X_PREV_UNDI_PROD(rcq, bd)	((bd) << 16 | (rcq))
rcq              10589 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	u16 rcq, bd;
rcq              10598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc;
rcq              10601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd);
rcq              10605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		       BP_PORT(bp), BP_FUNC(bp), addr, bd, rcq);
rcq               111 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct res_cq	       *rcq;
rcq              2964 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct res_cq *rcq;
rcq              2998 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = get_res(dev, slave, rcqn, RES_CQ, &rcq);
rcq              3007 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		scq = rcq;
rcq              3022 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	atomic_inc(&rcq->ref_count);
rcq              3023 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	qp->rcq = rcq;
rcq              4002 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	atomic_dec(&qp->rcq->ref_count);
rcq              4715 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					atomic_dec(&qp->rcq->ref_count);
rcq              5558 drivers/s390/block/dasd_eckd.c 	u8 *sense, *rcq;
rcq              5629 drivers/s390/block/dasd_eckd.c 				rcq = tsb->tsa.ddpc.rcq;
rcq              5632 drivers/s390/block/dasd_eckd.c 						       rcq[8 * sl + sct]);