Home
last modified time | relevance | path

Searched refs:to_idev (Results 1 – 25 of 27) sorted by relevance

12

/drivers/infiniband/hw/ipath/
Dipath_mr.c140 mr = alloc_mr(num_phys_buf, &to_idev(pd->device)->lk_table); in ipath_reg_phys_mr()
209 mr = alloc_mr(n, &to_idev(pd->device)->lk_table); in ipath_reg_user_mr()
265 ipath_free_lkey(&to_idev(ibmr->device)->lk_table, ibmr->lkey); in ipath_dereg_mr()
313 if (!ipath_alloc_lkey(&to_idev(pd->device)->lk_table, &fmr->mr)) in ipath_alloc_fmr()
366 rkt = &to_idev(ibfmr->device)->lk_table; in ipath_map_phys_fmr()
403 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in ipath_unmap_fmr()
424 ipath_free_lkey(&to_idev(ibfmr->device)->lk_table, ibfmr->lkey); in ipath_dealloc_fmr()
Dipath_mad.c88 struct ipath_devdata *dd = to_idev(ibdev)->dd; in recv_subn_get_nodeinfo()
105 nip->sys_guid = to_idev(ibdev)->sys_image_guid; in recv_subn_get_nodeinfo()
137 __be64 g = to_idev(ibdev)->dd->ipath_guid; in recv_subn_get_guidinfo()
252 dev = to_idev(ibdev); in recv_subn_get_portinfo()
371 struct ipath_ibdev *dev = to_idev(ibdev); in recv_subn_get_pkeytable()
436 dev = to_idev(ibdev); in recv_subn_set_portinfo()
781 struct ipath_ibdev *dev = to_idev(ibdev); in recv_subn_set_pkeytable()
833 struct ipath_ibdev *dev = to_idev(ibdev); in recv_pma_get_portsamplescontrol()
882 struct ipath_ibdev *dev = to_idev(ibdev); in recv_pma_set_portsamplescontrol()
969 struct ipath_ibdev *dev = to_idev(ibdev); in recv_pma_get_portsamplesresult()
[all …]
Dipath_cq.c115 to_idev(cq->ibcq.device)->n_wqe_errs++; in ipath_cq_enter()
204 struct ipath_ibdev *dev = to_idev(ibdev); in ipath_create_cq()
316 struct ipath_ibdev *dev = to_idev(ibcq->device); in ipath_destroy_cq()
447 struct ipath_ibdev *dev = to_idev(ibcq->device); in ipath_resize_cq()
Dipath_mmap.c50 struct ipath_ibdev *dev = to_idev(ip->context->device); in ipath_release_mmap_info()
91 struct ipath_ibdev *dev = to_idev(context->device); in ipath_mmap()
Dipath_verbs.c345 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_post_one_send()
422 } else if (wqe->length > to_idev(qp->ibqp.device)->dd->ipath_ibmtu) in ipath_post_one_send()
1032 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in sdma_complete()
1102 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_verbs_send_dma()
1227 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_verbs_send_pio()
1325 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_verbs_send()
1501 struct ipath_ibdev *dev = to_idev(ibdev); in ipath_query_device()
1583 struct ipath_ibdev *dev = to_idev(ibdev); in ipath_query_port()
1657 to_idev(device)->sys_image_guid = in ipath_modify_device()
1670 struct ipath_ibdev *dev = to_idev(ibdev); in ipath_modify_port()
[all …]
Dipath_srq.c105 struct ipath_ibdev *dev = to_idev(ibpd->device); in ipath_create_srq()
311 struct ipath_ibdev *dev = to_idev(srq->ibsrq.device); in ipath_modify_srq()
368 struct ipath_ibdev *dev = to_idev(ibsrq->device); in ipath_destroy_srq()
Dipath_keys.c124 struct ipath_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; in ipath_lkey_ok()
202 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_rkey_ok()
Dipath_verbs_mcast.c239 struct ipath_ibdev *dev = to_idev(ibqp->device); in ipath_multicast_attach()
288 struct ipath_ibdev *dev = to_idev(ibqp->device); in ipath_multicast_detach()
Dipath_ruc.c89 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_insert_rnr_queue()
262 struct ipath_ibdev *dev = to_idev(sqp->ibqp.device); in ipath_ruc_loopback()
642 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_do_send()
Dipath_qp.c379 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_error_qp()
453 struct ipath_ibdev *dev = to_idev(ibqp->device); in ipath_modify_qp()
860 dev = to_idev(ibpd->device); in ipath_create_qp()
965 struct ipath_ibdev *dev = to_idev(ibqp->device); in ipath_destroy_qp()
Dipath_ud.c52 struct ipath_ibdev *dev = to_idev(sqp->ibqp.device); in ipath_ud_loopback()
243 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_make_ud_req()
Dipath_rc.c68 dev = to_idev(qp->ibqp.device); in ipath_init_restart()
215 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in ipath_make_rc_req()
614 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in send_rc_ack()
821 dev = to_idev(qp->ibqp.device); in ipath_restart_rc()
860 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); in do_rc_ack()
Dipath_uc.c213 ipath_make_ruc_header(to_idev(qp->ibqp.device), in ipath_make_uc_req()
Dipath_verbs.h685 static inline struct ipath_ibdev *to_idev(struct ib_device *ibdev) in to_idev() function
/drivers/infiniband/hw/qib/
Dqib_keys.c55 struct qib_ibdev *dev = to_idev(mr->pd->device); in qib_alloc_lkey()
118 struct qib_ibdev *dev = to_idev(mr->pd->device); in qib_free_lkey()
164 struct qib_ibdev *dev = to_idev(pd->ibpd.device); in qib_lkey_ok()
251 struct qib_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_rkey_ok()
263 struct qib_ibdev *dev = to_idev(pd->ibpd.device); in qib_rkey_ok()
339 struct qib_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_fast_reg_mr()
Dqib_mmap.c50 struct qib_ibdev *dev = to_idev(ip->context->device); in qib_release_mmap_info()
91 struct qib_ibdev *dev = to_idev(context->device); in qib_mmap()
Dqib_srq.c105 struct qib_ibdev *dev = to_idev(ibpd->device); in qib_create_srq()
307 struct qib_ibdev *dev = to_idev(srq->ibsrq.device); in qib_modify_srq()
368 struct qib_ibdev *dev = to_idev(ibsrq->device); in qib_destroy_srq()
Dqib_cq.c211 struct qib_ibdev *dev = to_idev(ibdev); in qib_create_cq()
323 struct qib_ibdev *dev = to_idev(ibcq->device); in qib_destroy_cq()
454 struct qib_ibdev *dev = to_idev(ibcq->device); in qib_resize_cq()
Dqib_verbs_mcast.c228 struct qib_ibdev *dev = to_idev(ibqp->device); in qib_multicast_attach()
286 struct qib_ibdev *dev = to_idev(ibqp->device); in qib_multicast_detach()
Dqib_verbs.c396 rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_post_one_send()
985 dev = to_idev(qp->ibqp.device); in qib_put_txreq()
1090 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in sdma_complete()
1136 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in qib_verbs_send_dma()
1238 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in no_bufs_available()
1554 struct qib_ibdev *dev = to_idev(ibdev); in qib_query_device()
1734 struct qib_ibdev *dev = to_idev(ibdev); in qib_alloc_pd()
1774 struct qib_ibdev *dev = to_idev(ibpd->device); in qib_dealloc_pd()
1822 struct qib_ibdev *dev = to_idev(pd->device); in qib_create_ah()
1882 struct qib_ibdev *dev = to_idev(ibah->device); in qib_destroy_ah()
Dqib_mr.c458 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr()
494 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in qib_unmap_fmr()
Dqib_qp.c471 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in qib_error_qp()
567 struct qib_ibdev *dev = to_idev(ibqp->device); in qib_modify_qp()
1085 dev = to_idev(ibpd->device); in qib_create_qp()
1187 struct qib_ibdev *dev = to_idev(ibqp->device); in qib_destroy_qp()
Dqib_mad.c1183 struct qib_ibdev *dev = to_idev(ibdev); in pma_get_portsamplescontrol()
1221 struct qib_ibdev *dev = to_idev(ibdev); in pma_set_portsamplescontrol()
1350 struct qib_ibdev *dev = to_idev(ibdev); in pma_get_portsamplesresult()
1389 struct qib_ibdev *dev = to_idev(ibdev); in pma_get_portsamplesresult_ext()
Dqib_verbs.h819 static inline struct qib_ibdev *to_idev(struct ib_device *ibdev) in to_idev() function
Dqib.h1196 return dd_from_dev(to_idev(ibdev)); in dd_from_ibdev()

12