Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dgov_step_wise.c35 unsigned long next_target; in get_target_state() local
43 next_target = instance->target; in get_target_state()
48 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state()
50 next_target = THERMAL_NO_TARGET; in get_target_state()
53 return next_target; in get_target_state()
58 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state()
62 next_target = THERMAL_NO_TARGET; in get_target_state()
64 next_target = clamp((cur_state - 1), instance->lower, instance->upper); in get_target_state()
68 return next_target; in get_target_state()
/openbmc/linux/drivers/md/
H A Ddm-ioctl.c1398 static int next_target(struct dm_target_spec *last, uint32_t next, const char *end, in next_target() function
1457 r = next_target(spec, next, end, &spec, &target_params); in populate_table()