Lines Matching refs:rhp
351 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
803 c4iw_invalidate_mr(qhp->rhp, wc->ex.invalidate_rkey); in __c4iw_poll_cq_one()
844 c4iw_invalidate_mr(qhp->rhp, in __c4iw_poll_cq_one()
933 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); in c4iw_poll_cq_one()
978 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in c4iw_destroy_cq()
984 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_destroy_cq()
997 struct c4iw_dev *rhp = to_c4iw_dev(ibcq->device); in c4iw_create_cq() local
1014 if (vector >= rhp->rdev.lldi.nciq) in c4iw_create_cq()
1050 hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size); in c4iw_create_cq()
1072 ret = create_cq(&rhp->rdev, &chp->cq, in c4iw_create_cq()
1073 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, in c4iw_create_cq()
1078 chp->rhp = rhp; in c4iw_create_cq()
1085 ret = xa_insert_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL); in c4iw_create_cq()
1099 uresp.qid_mask = rhp->rdev.cqmask; in c4iw_create_cq()
1141 xa_erase_irq(&rhp->cqs, chp->cq.cqid); in c4iw_create_cq()
1143 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_create_cq()
1144 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, in c4iw_create_cq()