Home
last modified time | relevance | path

Searched refs:pvrdma_dev (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma.h75 struct pvrdma_dev;
122 struct pvrdma_dev *dev;
203 struct pvrdma_dev { struct
258 static inline struct pvrdma_dev *to_vdev(struct ib_device *ibdev) in to_vdev() argument
260 return container_of(ibdev, struct pvrdma_dev, ib_dev); in to_vdev()
299 static inline void pvrdma_write_reg(struct pvrdma_dev *dev, u32 reg, u32 val) in pvrdma_write_reg()
304 static inline u32 pvrdma_read_reg(struct pvrdma_dev *dev, u32 reg) in pvrdma_read_reg()
309 static inline void pvrdma_write_uar_cq(struct pvrdma_dev *dev, u32 val) in pvrdma_write_uar_cq()
314 static inline void pvrdma_write_uar_qp(struct pvrdma_dev *dev, u32 val) in pvrdma_write_uar_qp()
532 int pvrdma_uar_table_init(struct pvrdma_dev *dev);
[all …]
Dpvrdma_main.c102 struct pvrdma_dev *dev = in pvrdma_get_fw_ver_str()
103 container_of(device, struct pvrdma_dev, ib_dev); in pvrdma_get_fw_ver_str()
110 static int pvrdma_init_device(struct pvrdma_dev *dev) in pvrdma_init_device()
127 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_port_immutable()
201 static int pvrdma_register_device(struct pvrdma_dev *dev) in pvrdma_register_device()
267 struct pvrdma_dev *dev = dev_id; in pvrdma_intr0_handler()
284 static void pvrdma_qp_event(struct pvrdma_dev *dev, u32 qpn, int type) in pvrdma_qp_event()
310 static void pvrdma_cq_event(struct pvrdma_dev *dev, u32 cqn, int type) in pvrdma_cq_event()
336 static void pvrdma_srq_event(struct pvrdma_dev *dev, u32 srqn, int type) in pvrdma_srq_event()
365 static void pvrdma_dispatch_event(struct pvrdma_dev *dev, int port, in pvrdma_dispatch_event()
[all …]
Dpvrdma_doorbell.c52 int pvrdma_uar_table_init(struct pvrdma_dev *dev) in pvrdma_uar_table_init()
76 void pvrdma_uar_table_cleanup(struct pvrdma_dev *dev) in pvrdma_uar_table_cleanup()
83 int pvrdma_uar_alloc(struct pvrdma_dev *dev, struct pvrdma_uar_map *uar) in pvrdma_uar_alloc()
115 void pvrdma_uar_free(struct pvrdma_dev *dev, struct pvrdma_uar_map *uar) in pvrdma_uar_free()
Dpvrdma_verbs.c69 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_query_device()
131 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_query_port()
189 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_query_gid()
281 struct pvrdma_dev *vdev = to_vdev(ibdev); in pvrdma_modify_port()
316 struct pvrdma_dev *vdev = to_vdev(ibdev); in pvrdma_alloc_ucontext()
431 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_alloc_pd()
486 struct pvrdma_dev *dev = to_vdev(pd->device); in pvrdma_dealloc_pd()
516 struct pvrdma_dev *dev = to_vdev(ibah->device); in pvrdma_create_ah()
553 struct pvrdma_dev *dev = to_vdev(ah->device); in pvrdma_destroy_ah()
Dpvrdma_srq.c64 struct pvrdma_dev *dev = to_vdev(ibsrq->device); in pvrdma_query_srq()
103 struct pvrdma_dev *dev = to_vdev(ibsrq->device); in pvrdma_create_srq()
216 static void pvrdma_free_srq(struct pvrdma_dev *dev, struct pvrdma_srq *srq) in pvrdma_free_srq()
248 struct pvrdma_dev *dev = to_vdev(srq->device); in pvrdma_destroy_srq()
280 struct pvrdma_dev *dev = to_vdev(ibsrq->device); in pvrdma_modify_srq()
Dpvrdma_mr.c60 struct pvrdma_dev *dev = to_vdev(pd->device); in pvrdma_get_dma_mr()
115 struct pvrdma_dev *dev = to_vdev(pd->device); in pvrdma_reg_user_mr()
207 struct pvrdma_dev *dev = to_vdev(pd->device); in pvrdma_alloc_mr()
280 struct pvrdma_dev *dev = to_vdev(ibmr->device); in pvrdma_dereg_mr()
317 struct pvrdma_dev *dev = to_vdev(ibmr->device); in pvrdma_map_mr_sg()
Dpvrdma_cq.c66 struct pvrdma_dev *dev = to_vdev(ibcq->device); in pvrdma_req_notify_cq()
106 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_create_cq()
225 static void pvrdma_free_cq(struct pvrdma_dev *dev, struct pvrdma_cq *cq) in pvrdma_free_cq()
246 struct pvrdma_dev *dev = to_vdev(cq->device); in pvrdma_destroy_cq()
325 struct pvrdma_dev *dev = to_vdev(cq->ibcq.device); in pvrdma_poll_one()
Dpvrdma_misc.c52 int pvrdma_page_dir_init(struct pvrdma_dev *dev, struct pvrdma_page_dir *pdir, in pvrdma_page_dir_init()
121 static void pvrdma_page_dir_cleanup_pages(struct pvrdma_dev *dev, in pvrdma_page_dir_cleanup_pages()
138 static void pvrdma_page_dir_cleanup_tables(struct pvrdma_dev *dev, in pvrdma_page_dir_cleanup_tables()
158 void pvrdma_page_dir_cleanup(struct pvrdma_dev *dev, in pvrdma_page_dir_cleanup()
Dpvrdma_cmd.c52 static inline int pvrdma_cmd_recv(struct pvrdma_dev *dev, in pvrdma_cmd_recv()
83 pvrdma_cmd_post(struct pvrdma_dev *dev, union pvrdma_cmd_req *req, in pvrdma_cmd_post()
Dpvrdma_qp.c55 static void __pvrdma_destroy_qp(struct pvrdma_dev *dev,
130 static int pvrdma_set_rq_size(struct pvrdma_dev *dev, in pvrdma_set_rq_size()
156 static int pvrdma_set_sq_size(struct pvrdma_dev *dev, struct ib_qp_cap *req_cap, in pvrdma_set_sq_size()
195 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_create_qp()
433 struct pvrdma_dev *dev = to_vdev(qp->ibqp.device); in _pvrdma_free_qp()
475 static inline void _pvrdma_destroy_qp_work(struct pvrdma_dev *dev, in _pvrdma_destroy_qp_work()
509 static void __pvrdma_destroy_qp(struct pvrdma_dev *dev, in __pvrdma_destroy_qp()
528 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_modify_qp()
675 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_post_send()
876 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_post_recv()
[all …]