Lines Matching refs:new_state
101 enum nouveau_therm_thrs_state prev_state, new_state;
110 new_state = NOUVEAU_THERM_THRS_HIGHER;
113 new_state = NOUVEAU_THERM_THRS_LOWER;
118 if (new_state == NOUVEAU_THERM_THRS_LOWER && cur > thrs->temp)
119 new_state = NOUVEAU_THERM_THRS_HIGHER;
120 else if (new_state == NOUVEAU_THERM_THRS_HIGHER &&
122 new_state = NOUVEAU_THERM_THRS_LOWER;
123 nouveau_therm_sensor_set_threshold_state(therm, thrs_name, new_state);
126 if (prev_state < new_state)
128 else if (prev_state > new_state)