Lines Matching defs:dev

68 static int lock_sem_sw_reset(struct mlx5_core_dev *dev)  in lock_sem_sw_reset()
95 static int unlock_sem_sw_reset(struct mlx5_core_dev *dev) in unlock_sem_sw_reset()
114 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state()
119 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state()
129 static bool sensor_fw_synd_rfr(struct mlx5_core_dev *dev) in sensor_fw_synd_rfr()
143 struct mlx5_core_dev *dev = in mlx5_trigger_cmd_completions() local
166 static bool sensor_pci_no_comm(struct mlx5_core_dev *dev) in sensor_pci_no_comm()
175 static bool sensor_nic_disabled(struct mlx5_core_dev *dev) in sensor_nic_disabled()
180 static bool sensor_nic_sw_reset(struct mlx5_core_dev *dev) in sensor_nic_sw_reset()
185 static u32 check_fatal_sensors(struct mlx5_core_dev *dev) in check_fatal_sensors()
201 static void reset_fw_if_needed(struct mlx5_core_dev *dev) in reset_fw_if_needed()
238 mlx5_health_allow_reset(struct mlx5_core_dev *dev) in mlx5_health_allow_reset()
266 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) in mlx5_enter_error_state()
335 static void mlx5_handle_bad_state(struct mlx5_core_dev *dev) in mlx5_handle_bad_state()
368 struct mlx5_core_dev *dev; in health_recover() local
412 static unsigned long get_recovery_delay(struct mlx5_core_dev *dev) in get_recovery_delay()
423 struct mlx5_core_dev *dev; in health_care() local
459 void mlx5_trigger_health_work(struct mlx5_core_dev *dev) in mlx5_trigger_health_work()
504 print_health_info(struct mlx5_core_dev *dev) in print_health_info()
545 struct mlx5_core_dev *dev; in health_watchdog() local
596 mlx5_trigger_health_watchdog(struct mlx5_core_dev *dev) in mlx5_trigger_health_watchdog()
612 struct mlx5_core_dev *dev = (struct mlx5_core_dev *)data; in poll_health() local
646 void mlx5_start_health_poll(struct mlx5_core_dev *dev) in mlx5_start_health_poll()
666 void mlx5_stop_health_poll(struct mlx5_core_dev *dev, bool disable_health) in mlx5_stop_health_poll()
682 void mlx5_drain_health_wq(struct mlx5_core_dev *dev) in mlx5_drain_health_wq()
697 void mlx5_drain_health_recovery(struct mlx5_core_dev *dev) in mlx5_drain_health_recovery()
708 void mlx5_health_cleanup(struct mlx5_core_dev *dev) in mlx5_health_cleanup()
717 int mlx5_health_init(struct mlx5_core_dev *dev) in mlx5_health_init()