Lines Matching defs:dev
93 static int dct_event_notifier(struct mlx5_ib_dev *dev, struct mlx5_eqe *eqe) in dct_event_notifier()
111 struct mlx5_ib_dev *dev = in rsc_event_notifier() local
161 static int create_resource_common(struct mlx5_ib_dev *dev, in create_resource_common()
183 static void modify_resource_common_state(struct mlx5_ib_dev *dev, in modify_resource_common_state()
195 static void destroy_resource_common(struct mlx5_ib_dev *dev, in destroy_resource_common()
209 static int _mlx5_core_destroy_dct(struct mlx5_ib_dev *dev, in _mlx5_core_destroy_dct()
221 int mlx5_core_create_dct(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct, in mlx5_core_create_dct()
246 int mlx5_qpc_create_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp, in mlx5_qpc_create_qp()
279 static int mlx5_core_drain_dct(struct mlx5_ib_dev *dev, in mlx5_core_drain_dct()
291 int mlx5_core_destroy_dct(struct mlx5_ib_dev *dev, in mlx5_core_destroy_dct()
321 int mlx5_core_destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp) in mlx5_core_destroy_qp()
336 int mlx5_core_set_delay_drop(struct mlx5_ib_dev *dev, in mlx5_core_set_delay_drop()
403 static int modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn, in modify_qp_mbox_alloc()
495 int mlx5_core_qp_modify(struct mlx5_ib_dev *dev, u16 opcode, u32 opt_param_mask, in mlx5_core_qp_modify()
516 int mlx5_init_qp_table(struct mlx5_ib_dev *dev) in mlx5_init_qp_table()
533 void mlx5_cleanup_qp_table(struct mlx5_ib_dev *dev) in mlx5_cleanup_qp_table()
542 int mlx5_core_qp_query(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp, in mlx5_core_qp_query()
554 int mlx5_core_dct_query(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct, in mlx5_core_dct_query()
567 int mlx5_core_xrcd_alloc(struct mlx5_ib_dev *dev, u32 *xrcdn) in mlx5_core_xrcd_alloc()
580 int mlx5_core_xrcd_dealloc(struct mlx5_ib_dev *dev, u32 xrcdn) in mlx5_core_xrcd_dealloc()
589 static int destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid) in destroy_rq_tracked()
599 int mlx5_core_create_rq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen, in mlx5_core_create_rq_tracked()
623 int mlx5_core_destroy_rq_tracked(struct mlx5_ib_dev *dev, in mlx5_core_destroy_rq_tracked()
642 static void destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid) in destroy_sq_tracked()
652 int mlx5_core_create_sq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen, in mlx5_core_create_sq_tracked()
677 void mlx5_core_destroy_sq_tracked(struct mlx5_ib_dev *dev, in mlx5_core_destroy_sq_tracked()
684 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev, in mlx5_core_res_hold()