Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c15 bool is_overheat; member
407 bool is_overheat; in mlxsw_env_mtwe_event_func() local
418 is_overheat = in mlxsw_env_mtwe_event_func()
419 mlxsw_env->module_info[i].is_overheat; in mlxsw_env_mtwe_event_func()
421 if ((is_overheat && sensor_warning) || in mlxsw_env_mtwe_event_func()
422 (!is_overheat && !sensor_warning)) { in mlxsw_env_mtwe_event_func()
429 } else if (is_overheat && !sensor_warning) { in mlxsw_env_mtwe_event_func()
432 mlxsw_env->module_info[i].is_overheat = false; in mlxsw_env_mtwe_event_func()
439 mlxsw_env->module_info[i].is_overheat = true; in mlxsw_env_mtwe_event_func()
489 mlxsw_env->module_info[event->module].is_overheat = false; in mlxsw_env_pmpe_event_work()