Home
last modified time | relevance | path

Searched refs:next_target (Results 1 – 2 of 2) sorted by relevance

/drivers/thermal/
Dgov_step_wise.c42 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()
[all …]
/drivers/md/
Ddm-ioctl.c1271 static int next_target(struct dm_target_spec *last, uint32_t next, void *end, in next_target() function
1300 r = next_target(spec, next, end, &spec, &target_params); in populate_table()