Lines Matching full:direction
79 if (!(t->direction & THERMAL_THRESHOLD_WAY_UP)) in thermal_thresholds_handle_raising()
97 if (!(t->direction & THERMAL_THRESHOLD_WAY_DOWN)) in thermal_thresholds_handle_dropping()
115 (t->direction & THERMAL_THRESHOLD_WAY_UP) && in thermal_threshold_find_boundaries()
122 (t->direction & THERMAL_THRESHOLD_WAY_DOWN) && in thermal_threshold_find_boundaries()
169 int temperature, int direction) in thermal_thresholds_add() argument
178 if (t->direction == direction) in thermal_thresholds_add()
181 t->direction |= direction; in thermal_thresholds_add()
190 t->direction = direction; in thermal_thresholds_add()
195 thermal_notify_threshold_add(tz, temperature, direction); in thermal_thresholds_add()
203 int temperature, int direction) in thermal_thresholds_delete() argument
214 if (t->direction == direction) { in thermal_thresholds_delete()
218 t->direction &= ~direction; in thermal_thresholds_delete()
221 thermal_notify_threshold_delete(tz, temperature, direction); in thermal_thresholds_delete()