Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/vmw_pvrdma/
H A 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 …]
H A 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()
H A 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()
H A Dpvrdma_cq.c66 struct pvrdma_dev *dev = to_vdev(ibcq->device); in pvrdma_req_notify_cq()
107 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_create_cq()
247 struct pvrdma_dev *dev = to_vdev(cq->device); in pvrdma_destroy_cq()
326 struct pvrdma_dev *dev = to_vdev(cq->ibcq.device); in pvrdma_poll_one()
H A 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()
876 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_post_recv()
969 struct pvrdma_dev *dev = to_vdev(ibqp->device); in pvrdma_query_qp()
H A Dpvrdma.h258 static inline struct pvrdma_dev *to_vdev(struct ib_device *ibdev) in to_vdev() function