Searched refs:temp_state (Results 1 – 5 of 5) sorted by relevance
341 static enum temp_state get_temp_state(enum board_type, short, int);1634 enum temp_state temp_state; /* Temperature state */ in update_temp() local1771 temp_state = get_temp_state(softsp->list->sc.type, real_temp, in update_temp()1775 if (temp_state != envstat->state) { in update_temp()1781 if (temp_state > envstat->state) { in update_temp()1793 envstat->state = temp_state; in update_temp()1795 if (temp_state == TEMP_WARN) { in update_temp()1805 } else if (temp_state == TEMP_DANGER) { in update_temp()1845 } else if (temp_state < envstat->state) { in update_temp()1856 if (temp_state == TEMP_WARN) { in update_temp()[all …]
100 extern enum temp_state fhc_env_temp_state(int);
217 char switch_state[32], temp_state[32]; in fan_speed_read() local256 &temp_state, sizeof (temp_state)); in fan_speed_read()
341 enum temp_state { TEMP_OK = 0, /* normal board temperature */ enum393 enum temp_state state; /* state of board temperature */
1115 uint32_t temp, temp_state, temp_val; in unm_nic_check_temp() local1124 temp_state = nx_get_temp_state(temp); in unm_nic_check_temp()1127 if (temp_state == NX_TEMP_PANIC) { in unm_nic_check_temp()1132 } else if (temp_state == NX_TEMP_WARN) { in unm_nic_check_temp()1146 adapter->temp = temp_state; in unm_nic_check_temp()