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()
984 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in c4iw_destroy_cq()
990 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_destroy_cq()
1004 struct c4iw_dev *rhp = to_c4iw_dev(ibcq->device); in c4iw_create_cq() local
1021 if (vector >= rhp->rdev.lldi.nciq) in c4iw_create_cq()
1057 hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size); in c4iw_create_cq()
1079 ret = create_cq(&rhp->rdev, &chp->cq, in c4iw_create_cq()
1080 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, in c4iw_create_cq()
1085 chp->rhp = rhp; in c4iw_create_cq()
1092 ret = xa_insert_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL); in c4iw_create_cq()
1106 uresp.qid_mask = rhp->rdev.cqmask; in c4iw_create_cq()
1133 insert_flag_to_mmap(&rhp->rdev, mm, mm->addr); in c4iw_create_cq()
1141 insert_flag_to_mmap(&rhp->rdev, mm2, mm2->addr); in c4iw_create_cq()
1154 xa_erase_irq(&rhp->cqs, chp->cq.cqid); in c4iw_create_cq()
1156 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_create_cq()
1157 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, in c4iw_create_cq()