Lines Matching defs:dev

70 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev)  in mlx5_get_nic_state()
75 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state()
85 static bool sensor_pci_not_working(struct mlx5_core_dev *dev) in sensor_pci_not_working()
99 static bool sensor_fw_synd_rfr(struct mlx5_core_dev *dev) in sensor_fw_synd_rfr()
113 u32 mlx5_health_check_fatal_sensors(struct mlx5_core_dev *dev) in mlx5_health_check_fatal_sensors()
129 static int lock_sem_sw_reset(struct mlx5_core_dev *dev, bool lock) in lock_sem_sw_reset()
162 static bool reset_fw_if_needed(struct mlx5_core_dev *dev) in reset_fw_if_needed()
193 static void enter_error_state(struct mlx5_core_dev *dev, bool force) in enter_error_state()
203 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) in mlx5_enter_error_state()
222 void mlx5_error_sw_reset(struct mlx5_core_dev *dev) in mlx5_error_sw_reset()
274 static void mlx5_handle_bad_state(struct mlx5_core_dev *dev) in mlx5_handle_bad_state()
312 int mlx5_health_wait_pci_up(struct mlx5_core_dev *dev) in mlx5_health_wait_pci_up()
333 static int mlx5_health_try_recover(struct mlx5_core_dev *dev) in mlx5_health_try_recover()
410 static void print_health_info(struct mlx5_core_dev *dev) in print_health_info()
456 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose() local
492 mlx5_fw_reporter_heath_buffer_data_put(struct mlx5_core_dev *dev, in mlx5_fw_reporter_heath_buffer_data_put()
569 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump() local
624 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover() local
634 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump() local
668 struct mlx5_core_dev *dev; in mlx5_fw_fatal_reporter_err_work() local
717 void mlx5_fw_reporters_create(struct mlx5_core_dev *dev) in mlx5_fw_reporters_create()
749 static void mlx5_fw_reporters_destroy(struct mlx5_core_dev *dev) in mlx5_fw_reporters_destroy()
760 static unsigned long get_next_poll_jiffies(struct mlx5_core_dev *dev) in get_next_poll_jiffies()
771 void mlx5_trigger_health_work(struct mlx5_core_dev *dev) in mlx5_trigger_health_work()
786 struct mlx5_core_dev *dev; in mlx5_health_log_ts_update() local
806 struct mlx5_core_dev *dev = from_timer(dev, t, priv.health.timer); in poll_health() local
849 void mlx5_start_health_poll(struct mlx5_core_dev *dev) in mlx5_start_health_poll()
864 void mlx5_stop_health_poll(struct mlx5_core_dev *dev, bool disable_health) in mlx5_stop_health_poll()
874 void mlx5_start_health_fw_log_up(struct mlx5_core_dev *dev) in mlx5_start_health_fw_log_up()
882 void mlx5_drain_health_wq(struct mlx5_core_dev *dev) in mlx5_drain_health_wq()
892 void mlx5_health_cleanup(struct mlx5_core_dev *dev) in mlx5_health_cleanup()
902 int mlx5_health_init(struct mlx5_core_dev *dev) in mlx5_health_init()