Lines Matching defs:dev
91 static int dct_event_notifier(struct mlx5_ib_dev *dev, struct mlx5_eqe *eqe) in dct_event_notifier()
109 struct mlx5_ib_dev *dev = in rsc_event_notifier() local
159 static int create_resource_common(struct mlx5_ib_dev *dev, in create_resource_common()
181 static void destroy_resource_common(struct mlx5_ib_dev *dev, in destroy_resource_common()
195 static int _mlx5_core_destroy_dct(struct mlx5_ib_dev *dev, in _mlx5_core_destroy_dct()
207 int mlx5_core_create_dct(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct, in mlx5_core_create_dct()
232 int mlx5_qpc_create_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp, in mlx5_qpc_create_qp()
264 static int mlx5_core_drain_dct(struct mlx5_ib_dev *dev, in mlx5_core_drain_dct()
276 int mlx5_core_destroy_dct(struct mlx5_ib_dev *dev, in mlx5_core_destroy_dct()
306 int mlx5_core_destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp) in mlx5_core_destroy_qp()
320 int mlx5_core_set_delay_drop(struct mlx5_ib_dev *dev, in mlx5_core_set_delay_drop()
387 static int modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn, in modify_qp_mbox_alloc()
479 int mlx5_core_qp_modify(struct mlx5_ib_dev *dev, u16 opcode, u32 opt_param_mask, in mlx5_core_qp_modify()
500 int mlx5_init_qp_table(struct mlx5_ib_dev *dev) in mlx5_init_qp_table()
515 void mlx5_cleanup_qp_table(struct mlx5_ib_dev *dev) in mlx5_cleanup_qp_table()
523 int mlx5_core_qp_query(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp, in mlx5_core_qp_query()
535 int mlx5_core_dct_query(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct, in mlx5_core_dct_query()
548 int mlx5_core_xrcd_alloc(struct mlx5_ib_dev *dev, u32 *xrcdn) in mlx5_core_xrcd_alloc()
561 int mlx5_core_xrcd_dealloc(struct mlx5_ib_dev *dev, u32 xrcdn) in mlx5_core_xrcd_dealloc()
570 static int destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid) in destroy_rq_tracked()
580 int mlx5_core_create_rq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen, in mlx5_core_create_rq_tracked()
604 int mlx5_core_destroy_rq_tracked(struct mlx5_ib_dev *dev, in mlx5_core_destroy_rq_tracked()
611 static void destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid) in destroy_sq_tracked()
621 int mlx5_core_create_sq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen, in mlx5_core_create_sq_tracked()
646 void mlx5_core_destroy_sq_tracked(struct mlx5_ib_dev *dev, in mlx5_core_destroy_sq_tracked()
653 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev, in mlx5_core_res_hold()