Lines Matching refs:dev
15 static inline bool mlx5_vhca_event_supported(const struct mlx5_core_dev *dev)
17 return MLX5_CAP_GEN_MAX(dev, vhca_state);
20 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap);
21 int mlx5_vhca_event_init(struct mlx5_core_dev *dev);
22 void mlx5_vhca_event_cleanup(struct mlx5_core_dev *dev);
23 void mlx5_vhca_event_start(struct mlx5_core_dev *dev);
24 void mlx5_vhca_event_stop(struct mlx5_core_dev *dev);
25 int mlx5_vhca_event_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb);
26 void mlx5_vhca_event_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb);
27 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id);
28 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id);
29 int mlx5_cmd_query_vhca_state(struct mlx5_core_dev *dev, u16 function_id,
31 void mlx5_vhca_events_work_enqueue(struct mlx5_core_dev *dev, int idx, struct work_struct *work);
32 void mlx5_vhca_event_work_queues_flush(struct mlx5_core_dev *dev);
36 static inline void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap)
40 static inline int mlx5_vhca_event_init(struct mlx5_core_dev *dev)
45 static inline void mlx5_vhca_event_cleanup(struct mlx5_core_dev *dev)
49 static inline void mlx5_vhca_event_start(struct mlx5_core_dev *dev)
53 static inline void mlx5_vhca_event_stop(struct mlx5_core_dev *dev)