Lines Matching defs:temp_state
341 static enum temp_state get_temp_state(enum board_type, short, int);
1635 enum temp_state temp_state; /* Temperature state */
1772 temp_state = get_temp_state(softsp->list->sc.type, real_temp,
1776 if (temp_state != envstat->state) {
1782 if (temp_state > envstat->state) {
1794 envstat->state = temp_state;
1796 if (temp_state == TEMP_WARN) {
1806 } else if (temp_state == TEMP_DANGER) {
1846 } else if (temp_state < envstat->state) {
1857 if (temp_state == TEMP_WARN) {
1863 } else if (temp_state == TEMP_OK) {
1893 envstat->state = temp_state;
1901 if (temp_state == TEMP_DANGER) {
2257 static enum temp_state
2260 enum temp_state state = TEMP_OK;
3333 enum temp_state state;
3439 enum temp_state