Home
last modified time | relevance | path

Searched refs:is_overheat (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c17 bool is_overheat; member
881 bool is_overheat; in mlxsw_env_mtwe_event_work() local
898 is_overheat = module_info->is_overheat; in mlxsw_env_mtwe_event_work()
900 if ((is_overheat && sensor_warning) || in mlxsw_env_mtwe_event_work()
901 (!is_overheat && !sensor_warning)) { in mlxsw_env_mtwe_event_work()
908 } else if (is_overheat && !sensor_warning) { in mlxsw_env_mtwe_event_work()
911 module_info->is_overheat = false; in mlxsw_env_mtwe_event_work()
918 module_info->is_overheat = true; in mlxsw_env_mtwe_event_work()
986 module_info->is_overheat = false; in mlxsw_env_pmpe_event_work()