/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cq.c | 44 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, argument 60 qhp = get_qhp(rhp, CQE_QPID(*rd_cqe)); 69 if (t3a_device(chp->rhp) && credit) { 72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); 197 struct iwch_dev *rhp; local 204 rhp = chp->rhp; 218 err = iwch_poll_cq_one(rhp, chp, wc + npolled);
|
H A D | iwch_mem.c | 52 return insert_handle(mhp->rhp, &mhp->rhp->mmidr, mhp, mmid); 55 int iwch_register_mem(struct iwch_dev *rhp, struct iwch_pd *php, argument 61 if (cxio_register_phys_mem(&rhp->rdev, 73 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 78 int iwch_reregister_mem(struct iwch_dev *rhp, struct iwch_pd *php, argument 91 if (cxio_reregister_phys_mem(&rhp->rdev, 103 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 111 mhp->attr.pbl_addr = cxio_hal_pblpool_alloc(&mhp->rhp->rdev, 124 cxio_hal_pblpool_free(&mhp->rhp [all...] |
H A D | iwch.h | 127 static inline int t3b_device(const struct iwch_dev *rhp) argument 129 return rhp->rdev.t3cdev_p->type == T3B; 132 static inline int t3a_device(const struct iwch_dev *rhp) argument 134 return rhp->rdev.t3cdev_p->type == T3A; 137 static inline struct iwch_cq *get_chp(struct iwch_dev *rhp, u32 cqid) argument 139 return idr_find(&rhp->cqidr, cqid); 142 static inline struct iwch_qp *get_qhp(struct iwch_dev *rhp, u32 qpid) argument 144 return idr_find(&rhp->qpidr, qpid); 147 static inline struct iwch_mr *get_mhp(struct iwch_dev *rhp, u32 mmid) argument 149 return idr_find(&rhp 152 insert_handle(struct iwch_dev *rhp, struct idr *idr, void *handle, u32 id) argument 171 remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) argument [all...] |
H A D | iwch_qp.c | 200 static int iwch_sgl2pbl_map(struct iwch_dev *rhp, struct ib_sge *sg_list, argument 208 mhp = get_mhp(rhp, (sg_list[i].lkey) >> 8); 240 rhp->rdev.rnic_info.pbl_base) >> 3) + 254 err = iwch_sgl2pbl_map(qhp->rhp, wr->sg_list, wr->num_sge, pbl_addr, 301 pbl_addr = cxio_hal_pblpool_alloc(&qhp->rhp->rdev, T3_STAG0_PBL_SIZE); 308 pbl_offset = (pbl_addr - qhp->rhp->rdev.rnic_info.pbl_base) >> 3; 532 struct iwch_dev *rhp; local 548 rhp = qhp->rhp; 582 err = iwch_sgl2pbl_map(rhp, 893 rdma_init(struct iwch_dev *rhp, struct iwch_qp *qhp, enum iwch_qp_attr_mask mask, struct iwch_qp_attributes *attrs) argument 945 iwch_modify_qp(struct iwch_dev *rhp, struct iwch_qp *qhp, enum iwch_qp_attr_mask mask, struct iwch_qp_attributes *attrs, int internal) argument [all...] |
H A D | iwch_provider.c | 97 struct iwch_dev *rhp = to_iwch_dev(context->device); local 104 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); 113 struct iwch_dev *rhp = to_iwch_dev(ibdev); local 119 cxio_init_ucontext(&rhp->rdev, &context->uctx); 132 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); 136 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq); 145 struct iwch_dev *rhp; local 154 rhp = to_iwch_dev(ibdev); 161 if (!t3a_device(rhp)) { 314 struct iwch_dev *rhp; local 403 struct iwch_dev *rhp; local 420 struct iwch_dev *rhp; local 446 struct iwch_dev *rhp; local 481 struct iwch_dev *rhp; local 558 struct iwch_dev *rhp; local 623 struct iwch_dev *rhp; local 743 struct iwch_dev *rhp; local 777 struct iwch_dev *rhp; local 793 struct iwch_dev *rhp; local 861 struct iwch_dev *rhp; local 893 struct iwch_dev *rhp; local 1050 struct iwch_dev *rhp; local [all...] |
H A D | iwch_provider.h | 47 struct iwch_dev *rhp; member in struct:iwch_pd 77 struct iwch_dev *rhp; member in struct:iwch_mr 91 struct iwch_dev *rhp; member in struct:iwch_mw 103 struct iwch_dev *rhp; member in struct:iwch_cq 161 struct iwch_dev *rhp; member in struct:iwch_qp 258 int iwch_modify_qp(struct iwch_dev *rhp, 340 int iwch_register_mem(struct iwch_dev *rhp, struct iwch_pd *php, 342 int iwch_reregister_mem(struct iwch_dev *rhp, struct iwch_pd *php,
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 580 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); 738 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); 744 destroy_cq(&chp->rhp->rdev, &chp->cq, 754 struct c4iw_dev *rhp; local 764 rhp = to_c4iw_dev(ibdev); 812 ret = create_cq(&rhp->rdev, &chp->cq, 813 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); 817 chp->rhp = rhp; [all...] |
H A D | provider.c | 92 struct c4iw_dev *rhp = to_c4iw_dev(context->device); local 99 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); 108 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); local 114 c4iw_init_dev_ucontext(&rhp->rdev, &context->uctx); 185 struct c4iw_dev *rhp; local 189 rhp = php->rhp; 191 c4iw_put_resource(&rhp->rdev.resource.pdid_fifo, php->pdid, 192 &rhp->rdev.resource.pdid_fifo_lock); 203 struct c4iw_dev *rhp; local [all...] |
H A D | mem.c | 224 return insert_handle(mhp->rhp, &mhp->rhp->mmidr, mhp, mmid); 227 static int register_mem(struct c4iw_dev *rhp, struct c4iw_pd *php, argument 233 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, 243 dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 248 static int reregister_mem(struct c4iw_dev *rhp, struct c4iw_pd *php, argument 258 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, 268 dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 276 mhp->attr.pbl_addr = c4iw_pblpool_alloc(&mhp->rhp->rdev, 362 struct c4iw_dev *rhp; local 428 struct c4iw_dev *rhp; local 500 struct c4iw_dev *rhp; local 550 struct c4iw_dev *rhp; local 648 struct c4iw_dev *rhp; local 682 struct c4iw_dev *rhp; local 698 struct c4iw_dev *rhp; local 780 struct c4iw_dev *rhp; local [all...] |
H A D | qp.c | 928 c4iw_ofld_send(&qhp->rhp->rdev, skb); 977 rchp = get_chp(qhp->rhp, qhp->attr.rcq); 978 schp = get_chp(qhp->rhp, qhp->attr.scq); 998 static int rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp, argument 1024 ret = c4iw_ofld_send(&rhp->rdev, skb); 1028 ret = c4iw_wait_for_reply(&rhp->rdev, &ep->com.wr_wait, qhp->ep->hwtid, 1060 static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp) argument 1116 rhp->rdev.lldi.vr->rq.start); 1120 ret = c4iw_ofld_send(&rhp->rdev, skb); 1124 ret = c4iw_wait_for_reply(&rhp 1131 c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp, enum c4iw_qp_attr_mask mask, struct c4iw_qp_attributes *attrs, int internal) argument 1357 struct c4iw_dev *rhp; local 1389 struct c4iw_dev *rhp; local 1583 struct c4iw_dev *rhp; local [all...] |
H A D | iw_cxgb4.h | 199 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) argument 201 return idr_find(&rhp->cqidr, cqid); 204 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qpid) argument 206 return idr_find(&rhp->qpidr, qpid); 209 static inline struct c4iw_mr *get_mhp(struct c4iw_dev *rhp, u32 mmid) argument 211 return idr_find(&rhp->mmidr, mmid); 214 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, argument 223 spin_lock_irq(&rhp->lock); 226 spin_unlock_irq(&rhp->lock); 232 static inline void remove_handle(struct c4iw_dev *rhp, struc argument 242 struct c4iw_dev *rhp; member in struct:c4iw_pd 271 struct c4iw_dev *rhp; member in struct:c4iw_mr 283 struct c4iw_dev *rhp; member in struct:c4iw_mw 309 struct c4iw_dev *rhp; member in struct:c4iw_cq 360 struct c4iw_dev *rhp; member in struct:c4iw_qp [all...] |
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 55 struct pvr2_ioread *rhp; member in struct:pvr2_v4l2_fh 976 if (fhp->rhp) { 979 sp = pvr2_ioread_get_stream(fhp->rhp); 981 pvr2_ioread_destroy(fhp->rhp); 982 fhp->rhp = NULL; 1124 if (fh->rhp) return 0; 1140 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); 1141 if (!fh->rhp) { 1151 return pvr2_ioread_set_enabled(fh->rhp,!0); 1194 if (!fh->rhp) { [all...] |
/drivers/staging/cxt1e1/ |
H A D | musycc.h | 55 VINT32 rhp[32]; /* Receive Head Pointer [5-29] */ member in struct:musycc_groupr
|