Lines Matching refs:ocrdma_dev

70 	struct ocrdma_dev *dev = get_ocrdma_dev(ibdev);  in ocrdma_query_device()
116 static inline void get_link_speed_and_width(struct ocrdma_dev *dev, in get_link_speed_and_width()
158 struct ocrdma_dev *dev; in ocrdma_query_port()
247 static u16 _ocrdma_pd_mgr_get_bitmap(struct ocrdma_dev *dev, bool dpp_pool) in _ocrdma_pd_mgr_get_bitmap()
272 static int _ocrdma_pd_mgr_put_bitmap(struct ocrdma_dev *dev, u16 pd_id, in _ocrdma_pd_mgr_put_bitmap()
304 static int ocrdma_put_pd_num(struct ocrdma_dev *dev, u16 pd_id, in ocrdma_put_pd_num()
315 static int ocrdma_get_pd_num(struct ocrdma_dev *dev, struct ocrdma_pd *pd) in ocrdma_get_pd_num()
357 static int _ocrdma_alloc_pd(struct ocrdma_dev *dev, struct ocrdma_pd *pd, in _ocrdma_alloc_pd()
394 static void _ocrdma_dealloc_pd(struct ocrdma_dev *dev, in _ocrdma_dealloc_pd()
403 static int ocrdma_alloc_ucontext_pd(struct ocrdma_dev *dev, in ocrdma_alloc_ucontext_pd()
433 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_dealloc_ucontext_pd()
471 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_alloc_ucontext()
524 struct ocrdma_dev *dev = get_ocrdma_dev(ibctx->device); in ocrdma_dealloc_ucontext()
542 struct ocrdma_dev *dev = get_ocrdma_dev(context->device); in ocrdma_mmap()
582 static int ocrdma_copy_pd_uresp(struct ocrdma_dev *dev, struct ocrdma_pd *pd, in ocrdma_copy_pd_uresp()
632 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_alloc_pd()
672 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd()
694 static int ocrdma_alloc_lkey(struct ocrdma_dev *dev, struct ocrdma_mr *mr, in ocrdma_alloc_lkey()
723 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_get_dma_mr()
744 static void ocrdma_free_mr_pbl_tbl(struct ocrdma_dev *dev, in ocrdma_free_mr_pbl_tbl()
763 static int ocrdma_get_pbl_info(struct ocrdma_dev *dev, struct ocrdma_mr *mr, in ocrdma_get_pbl_info()
788 static int ocrdma_build_pbl_tbl(struct ocrdma_dev *dev, struct ocrdma_hw_mr *mr) in ocrdma_build_pbl_tbl()
816 static void build_user_pbes(struct ocrdma_dev *dev, struct ocrdma_mr *mr) in build_user_pbes()
853 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_reg_user_mr()
906 struct ocrdma_dev *dev = get_ocrdma_dev(ib_mr->device); in ocrdma_dereg_mr()
925 static int ocrdma_copy_cq_uresp(struct ocrdma_dev *dev, struct ocrdma_cq *cq, in ocrdma_copy_cq_uresp()
971 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_create_cq()
1033 struct ocrdma_dev *dev = get_ocrdma_dev(cq->ibcq.device); in ocrdma_flush_cq()
1057 struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device); in ocrdma_destroy_cq()
1081 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map()
1092 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map()
1097 static int ocrdma_check_qp_params(struct ib_pd *ibpd, struct ocrdma_dev *dev, in ocrdma_check_qp_params()
1179 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_copy_qp_uresp()
1230 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db()
1283 static void ocrdma_store_gsi_qp_cq(struct ocrdma_dev *dev, in ocrdma_store_gsi_qp_cq()
1300 struct ocrdma_dev *dev = get_ocrdma_dev(ibqp->device); in ocrdma_create_qp()
1369 struct ocrdma_dev *dev; in _ocrdma_modify_qp()
1390 struct ocrdma_dev *dev; in ocrdma_modify_qp()
1463 struct ocrdma_dev *dev = get_ocrdma_dev(ibqp->device); in ocrdma_query_qp()
1656 struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device); in ocrdma_del_flush_qp()
1675 struct ocrdma_dev *dev; in ocrdma_destroy_qp()
1733 static int ocrdma_copy_srq_uresp(struct ocrdma_dev *dev, struct ocrdma_srq *srq, in ocrdma_copy_srq_uresp()
1771 struct ocrdma_dev *dev = get_ocrdma_dev(ibsrq->device); in ocrdma_create_srq()
1858 struct ocrdma_dev *dev = get_ocrdma_dev(ibsrq->device); in ocrdma_destroy_srq()
2518 struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device); in ocrdma_poll_err_scqe()
2599 static int ocrdma_update_ud_rcqe(struct ocrdma_dev *dev, struct ib_wc *ibwc, in ocrdma_update_ud_rcqe()
2651 struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device); in ocrdma_poll_err_rcqe()
2684 struct ocrdma_dev *dev; in ocrdma_poll_success_rcqe()
2761 struct ocrdma_dev *dev = get_ocrdma_dev(cq->ibcq.device); in ocrdma_poll_hwcq()
2843 struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device); in ocrdma_poll_cq()
2878 struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device); in ocrdma_arm_cq()
2903 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_alloc_mr()