• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb3/

Lines Matching defs:rhp

104 	struct iwch_dev *rhp = to_iwch_dev(context->device);
111 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx);
120 struct iwch_dev *rhp = to_iwch_dev(ibdev);
126 cxio_init_ucontext(&rhp->rdev, &context->uctx);
139 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid);
143 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq);
152 struct iwch_dev *rhp;
159 rhp = to_iwch_dev(ibdev);
166 if (!t3a_device(rhp)) {
175 if (t3a_device(rhp)) {
191 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) {
195 chp->rhp = rhp;
200 if (insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid)) {
201 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq);
265 ret = cxio_create_cq(&chp->rhp->rdev, &newcq);
280 ret = cxio_resize_cq(&chp->rhp->rdev, &chp->cq);
289 ret = cxio_destroy_cq(&chp->rhp->rdev, &oldcq);
307 struct iwch_dev *rhp;
315 rhp = chp->rhp;
328 err = cxio_hal_cq_op(&rhp->rdev, &chp->cq, cq_op, 0);
396 struct iwch_dev *rhp;
400 rhp = php->rhp;
402 cxio_hal_put_pdid(rhp->rdev.rscp, php->pdid);
413 struct iwch_dev *rhp;
416 rhp = (struct iwch_dev *) ibdev;
417 pdid = cxio_hal_get_pdid(rhp->rdev.rscp);
422 cxio_hal_put_pdid(rhp->rdev.rscp, pdid);
426 php->rhp = rhp;
439 struct iwch_dev *rhp;
449 rhp = mhp->rhp;
451 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size,
454 remove_handle(rhp, &rhp->mmidr, mmid);
474 struct iwch_dev *rhp;
481 rhp = php->rhp;
487 mhp->rhp = rhp;
526 ret = iwch_register_mem(rhp, php, mhp, shift);
551 struct iwch_dev *rhp;
565 rhp = mhp->rhp;
569 if (rhp != php->rhp)
587 ret = iwch_reregister_mem(rhp, php, &mh, shift, npages);
616 struct iwch_dev *rhp;
624 rhp = php->rhp;
629 mhp->rhp = rhp;
688 err = iwch_register_mem(rhp, php, mhp, shift);
692 if (udata && !t3a_device(rhp)) {
694 rhp->rdev.rnic_info.pbl_base) >> 3;
736 struct iwch_dev *rhp;
744 rhp = php->rhp;
748 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid);
753 mhp->rhp = rhp;
759 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid)) {
760 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag);
770 struct iwch_dev *rhp;
775 rhp = mhp->rhp;
777 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag);
778 remove_handle(rhp, &rhp->mmidr, mmid);
786 struct iwch_dev *rhp;
794 rhp = php->rhp;
799 mhp->rhp = rhp;
804 ret = cxio_allocate_stag(&rhp->rdev, &stag, php->pdid,
814 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid))
820 cxio_dereg_mem(&rhp->rdev, stag, mhp->attr.pbl_size,
854 struct iwch_dev *rhp;
860 rhp = qhp->rhp;
863 iwch_modify_qp(rhp, qhp, IWCH_QP_ATTR_NEXT_STATE, &attrs, 0);
866 remove_handle(rhp, &rhp->qpidr, qhp->wq.qpid);
873 cxio_destroy_qp(&rhp->rdev, &qhp->wq,
874 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
886 struct iwch_dev *rhp;
899 rhp = php->rhp;
900 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid);
901 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid);
944 if (cxio_create_qp(&rhp->rdev, !udata, &qhp->wq,
945 ucontext ? &ucontext->uctx : &rhp->rdev.uctx)) {
954 qhp->rhp = rhp;
976 if (insert_handle(rhp, &rhp->qpidr, qhp, qhp->wq.qpid)) {
977 cxio_destroy_qp(&rhp->rdev, &qhp->wq,
978 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
1038 struct iwch_dev *rhp;
1055 rhp = qhp->rhp;
1071 return iwch_modify_qp(rhp, qhp, mask, &attrs, 0);