Lines Matching refs:rhp
357 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
699 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); in c4iw_poll_cq_one()
857 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in c4iw_destroy_cq()
863 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_destroy_cq()
873 struct c4iw_dev *rhp; in c4iw_create_cq() local
883 rhp = to_c4iw_dev(ibdev); in c4iw_create_cq()
885 if (vector >= rhp->rdev.lldi.nciq) in c4iw_create_cq()
909 hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size); in c4iw_create_cq()
929 ret = create_cq(&rhp->rdev, &chp->cq, in c4iw_create_cq()
930 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()
934 chp->rhp = rhp; in c4iw_create_cq()
941 ret = insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid); in c4iw_create_cq()
953 uresp.qid_mask = rhp->rdev.cqmask; in c4iw_create_cq()
987 remove_handle(rhp, &rhp->cqidr, chp->cq.cqid); in c4iw_create_cq()
989 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_create_cq()
990 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()