Lines Matching refs:next_target
42 unsigned long next_target; in get_target_state() local
50 next_target = instance->target; in get_target_state()
55 next_target = (cur_state + 1) >= instance->upper ? in get_target_state()
60 next_target = THERMAL_NO_TARGET; in get_target_state()
63 return next_target; in get_target_state()
69 next_target = cur_state < instance->upper ? in get_target_state()
71 if (next_target < instance->lower) in get_target_state()
72 next_target = instance->lower; in get_target_state()
77 next_target = instance->upper; in get_target_state()
82 next_target = THERMAL_NO_TARGET; in get_target_state()
85 next_target = cur_state - 1; in get_target_state()
86 if (next_target > instance->upper) in get_target_state()
87 next_target = instance->upper; in get_target_state()
94 next_target = THERMAL_NO_TARGET; in get_target_state()
96 next_target = instance->lower; in get_target_state()
102 return next_target; in get_target_state()