Home
last modified time | relevance | path

Searched refs:rvt_dev_info (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/include/rdma/
H A Drdma_vt.h195 struct rvt_dev_info;
237 struct pci_dev * (*get_pci_dev)(struct rvt_dev_info *rdi);
318 int (*shut_down_port)(struct rvt_dev_info *rdi, u32 port_num);
321 void (*cap_mask_chg)(struct rvt_dev_info *rdi, u32 port_num);
330 unsigned (*free_all_qps)(struct rvt_dev_info *rdi);
364 struct rvt_dev_info { struct
474 return container_of(ibdev, struct rvt_dev_info, ibdev); in ib_to_rvt()
504 static inline u16 rvt_get_pkey(struct rvt_dev_info *rdi, in rvt_get_pkey()
515 void rvt_dealloc_device(struct rvt_dev_info *rdi);
516 int rvt_register_device(struct rvt_dev_info *rvd);
[all …]
H A Drdmavt_qp.h698 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi, in rvt_lookup_qpn()
726 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_mod_retry_timer_ext()
869 struct rvt_dev_info;
902 struct rvt_dev_info *rdi;
968 struct rvt_dev_info *rdi = ib_to_rvt(qp->ibqp.device); in rvt_to_iport()
995 struct rvt_qp_iter *rvt_qp_iter_init(struct rvt_dev_info *rdi,
999 void rvt_qp_iter(struct rvt_dev_info *rdi,
H A Drdmavt_cq.h54 struct rvt_dev_info *rdi;
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dvt.c50 struct rvt_dev_info *rdi; in rvt_alloc_device()
70 void rvt_dealloc_device(struct rvt_dev_info *rdi) in rvt_dealloc_device()
81 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_device()
94 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_get_numa_node()
122 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_port()
154 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_modify_port()
196 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_pkey()
220 struct rvt_dev_info *rdi; in rvt_query_gid()
262 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_get_port_immutable()
478 int rvt_register_device(struct rvt_dev_info *rdi) in rvt_register_device()
[all …]
H A Dqp.h11 int rvt_driver_qp_init(struct rvt_dev_info *rdi);
12 void rvt_qp_exit(struct rvt_dev_info *rdi);
26 int rvt_wss_init(struct rvt_dev_info *rdi);
27 void rvt_wss_exit(struct rvt_dev_info *rdi);
H A Dmmap.h11 void rvt_mmap_init(struct rvt_dev_info *rdi);
14 struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size,
16 void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
H A Dmmap.c16 void rvt_mmap_init(struct rvt_dev_info *rdi) in rvt_mmap_init()
32 struct rvt_dev_info *rdi = ib_to_rvt(ip->context->device); in rvt_release_mmap_info()
70 struct rvt_dev_info *rdi = ib_to_rvt(context->device); in rvt_mmap()
116 struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size, in rvt_create_mmap_info()
155 void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip, in rvt_update_mmap_info()
H A Dmcast.h11 void rvt_driver_mcast_init(struct rvt_dev_info *rdi);
14 int rvt_mcast_tree_empty(struct rvt_dev_info *rdi);
H A Dmad.h16 int rvt_create_mad_agents(struct rvt_dev_info *rdi);
17 void rvt_free_mad_agents(struct rvt_dev_info *rdi);
H A Dah.c26 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_check_ah()
62 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah()
94 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah()
H A Dmr.h22 int rvt_driver_mr_init(struct rvt_dev_info *rdi);
23 void rvt_mr_exit(struct rvt_dev_info *rdi);
H A Dpd.c21 struct rvt_dev_info *dev = ib_to_rvt(ibdev); in rvt_alloc_pd()
58 struct rvt_dev_info *dev = ib_to_rvt(ibpd->device); in rvt_dealloc_pd()
H A Dmcast.c20 void rvt_driver_mcast_init(struct rvt_dev_info *rdi) in rvt_driver_mcast_init()
151 static int rvt_mcast_add(struct rvt_dev_info *rdi, struct rvt_ibport *ibp, in rvt_mcast_add()
241 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_attach_mcast()
304 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_detach_mcast()
392 int rvt_mcast_tree_empty(struct rvt_dev_info *rdi) in rvt_mcast_tree_empty()
H A Dsrq.c20 void rvt_driver_srq_init(struct rvt_dev_info *rdi) in rvt_driver_srq_init()
37 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_create_srq()
129 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_modify_srq()
229 struct rvt_dev_info *dev = ib_to_rvt(srq->ibsrq.device); in rvt_modify_srq()
297 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_destroy_srq()
H A Dmr.c22 int rvt_driver_mr_init(struct rvt_dev_info *rdi) in rvt_driver_mr_init()
67 void rvt_mr_exit(struct rvt_dev_info *rdi) in rvt_mr_exit()
97 struct rvt_dev_info *dev = ib_to_rvt(pd->device); in rvt_init_mregion()
141 struct rvt_dev_info *dev = ib_to_rvt(mr->pd->device); in rvt_alloc_lkey()
210 struct rvt_dev_info *dev = ib_to_rvt(mr->pd->device); in rvt_free_lkey()
426 struct rvt_dev_info *rdi = ib_to_rvt(mr->pd->device); in rvt_dereg_clean_qps()
445 struct rvt_dev_info *rdi = ib_to_rvt(mr->pd->device); in rvt_check_refs()
649 struct rvt_dev_info *dev = ib_to_rvt(qp->ibqp.device); in rvt_invalidate_rkey()
729 struct rvt_dev_info *dev = ib_to_rvt(pd->ibpd.device); in rvt_lkey_ok()
829 struct rvt_dev_info *dev = ib_to_rvt(qp->ibqp.device); in rvt_rkey_ok()
[all …]
H A Dqp.c103 void rvt_wss_exit(struct rvt_dev_info *rdi) in rvt_wss_exit()
122 int rvt_wss_init(struct rvt_dev_info *rdi) in rvt_wss_init()
357 int rvt_driver_qp_init(struct rvt_dev_info *rdi) in rvt_driver_qp_init()
460 void rvt_qp_exit(struct rvt_dev_info *rdi) in rvt_qp_exit()
1037 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_create_qp()
1405 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_modify_qp()
1680 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_destroy_qp()
1911 struct rvt_dev_info *rdi, in rvt_qp_is_avail()
2688 struct rvt_dev_info *rdi = iter->rdi; in rvt_qp_iter_next()
2748 void rvt_qp_iter(struct rvt_dev_info *rdi, in rvt_qp_iter()
[all …]
H A Dmad.c60 int rvt_create_mad_agents(struct rvt_dev_info *rdi) in rvt_create_mad_agents()
107 void rvt_free_mad_agents(struct rvt_dev_info *rdi) in rvt_free_mad_agents()
H A Dsrq.h10 void rvt_driver_srq_init(struct rvt_dev_info *rdi);
H A Dtrace_rvt.h18 TP_PROTO(struct rvt_dev_info *rdi,
H A Dcq.c62 struct rvt_dev_info *rdi = cq->rdi; in rvt_cq_enter()
162 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_create_cq()
279 struct rvt_dev_info *rdi = cq->rdi; in rvt_destroy_cq()
344 struct rvt_dev_info *rdi = cq->rdi; in rvt_resize_cq()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dqp.h93 void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
94 void qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
95 unsigned free_all_qps(struct rvt_dev_info *rdi);
97 int get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp,
103 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
H A Dverbs.h236 struct rvt_dev_info rdi; /* Must be first */
267 struct rvt_dev_info *rdi; in to_idev()
269 rdi = container_of(ibdev, struct rvt_dev_info, ibdev); in to_idev()
286 void hfi1_cap_mask_chg(struct rvt_dev_info *rdi, u32 port_num);
H A Daffinity.h84 int hfi1_comp_vect_mappings_lookup(struct rvt_dev_info *rdi, int comp_vect);
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.h170 struct rvt_dev_info rdi;
208 struct rvt_dev_info *rdi; in to_idev()
210 rdi = container_of(ibdev, struct rvt_dev_info, ibdev); in to_idev()
242 void qib_cap_mask_chg(struct rvt_dev_info *rdi, u32 port_num);
249 void qib_notify_create_mad_agent(struct rvt_dev_info *rdi, int port_idx);
250 void qib_notify_free_mad_agent(struct rvt_dev_info *rdi, int port_idx);
271 unsigned qib_free_all_qps(struct rvt_dev_info *rdi);
272 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
273 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
275 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
H A Dqib_qp.c127 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, in qib_alloc_qpn()
213 unsigned qib_free_all_qps(struct rvt_dev_info *rdi) in qib_free_all_qps()
291 int qib_get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp, in qib_get_pmtu_from_attr()
314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp()
319 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_alloc()
340 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_free()

12