Home
last modified time | relevance | path

Searched refs:to_vdev (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
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()
221 err = pvrdma_cmd_post(to_vdev(ibdev), &req, &rsp, in pvrdma_query_pkey()
224 dev_warn(&to_vdev(ibdev)->pdev->dev, in pvrdma_query_pkey()
247 dev_warn(&to_vdev(ibdev)->pdev->dev, in pvrdma_modify_device()
253 spin_lock_irqsave(&to_vdev(ibdev)->desc_lock, flags); in pvrdma_modify_device()
255 spin_unlock_irqrestore(&to_vdev(ibdev)->desc_lock, flags); in pvrdma_modify_device()
259 mutex_lock(&to_vdev(ibdev)->port_mutex); in pvrdma_modify_device()
260 to_vdev(ibdev)->sys_image_guid = in pvrdma_modify_device()
[all …]
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_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()
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_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()
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_qp.c195 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_create_qp()
302 ret = pvrdma_set_sq_size(to_vdev(ibqp->device), in pvrdma_create_qp()
307 ret = pvrdma_set_rq_size(to_vdev(ibqp->device), in pvrdma_create_qp()
433 struct pvrdma_dev *dev = to_vdev(qp->ibqp.device); in _pvrdma_free_qp()
503 _pvrdma_destroy_qp_work(to_vdev(qp->device), vqp->qp_handle); 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()
884 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_post_recv()
977 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_query_qp()
Dpvrdma_main.c127 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_port_immutable()
616 struct pvrdma_dev *dev = to_vdev(attr->device); in pvrdma_add_gid()
652 struct pvrdma_dev *dev = to_vdev(attr->device); in pvrdma_del_gid()
Dpvrdma.h258 static inline struct pvrdma_dev *to_vdev(struct ib_device *ibdev) in to_vdev() function