Lines Matching refs:rhp
56 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_cq() local
87 dma_free_coherent(rhp->ibdev.dma_device, in destroy_cq()
99 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_cq() local
124 cq->queue = dma_alloc_coherent(rhp->ibdev.dma_device, cq->memsize, in create_cq()
194 dma_free_coherent(rhp->ibdev.dma_device, cq->memsize, cq->queue, in create_cq()
378 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
730 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); in c4iw_poll_cq_one()
763 c4iw_invalidate_mr(qhp->rhp, wc->ex.invalidate_rkey); in c4iw_poll_cq_one()
791 c4iw_invalidate_mr(qhp->rhp, in c4iw_poll_cq_one()
894 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in c4iw_destroy_cq()
900 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_destroy_cq()
910 struct c4iw_dev *rhp; in c4iw_create_cq() local
922 rhp = to_c4iw_dev(ibdev); in c4iw_create_cq()
941 hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size); in c4iw_create_cq()
961 ret = create_cq(&rhp->rdev, &chp->cq, in c4iw_create_cq()
962 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()
966 chp->rhp = rhp; in c4iw_create_cq()
973 ret = insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid); in c4iw_create_cq()
987 uresp.qid_mask = rhp->rdev.cqmask; in c4iw_create_cq()
1022 remove_handle(rhp, &rhp->cqidr, chp->cq.cqid); in c4iw_create_cq()
1024 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_create_cq()
1025 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq()