Lines Matching defs:rhp
56 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev);
87 dma_free_coherent(rhp->ibdev.dma_device,
99 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev);
122 cq->queue = dma_alloc_coherent(rhp->ibdev.dma_device, cq->memsize,
192 dma_free_coherent(rhp->ibdev.dma_device, cq->memsize, cq->queue,
376 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe));
728 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe));
761 c4iw_invalidate_mr(qhp->rhp, wc->ex.invalidate_rkey);
789 c4iw_invalidate_mr(qhp->rhp,
892 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid);
898 destroy_cq(&chp->rhp->rdev, &chp->cq,
910 struct c4iw_dev *rhp;
922 rhp = to_c4iw_dev(ibdev);
946 hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size);
966 ret = create_cq(&rhp->rdev, &chp->cq,
967 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
971 chp->rhp = rhp;
978 ret = insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid);
992 uresp.qid_mask = rhp->rdev.cqmask;
1027 remove_handle(rhp, &rhp->cqidr, chp->cq.cqid);
1029 destroy_cq(&chp->rhp->rdev, &chp->cq,
1030 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);