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

/linux-4.1.27/drivers/thermal/
H A Dstep_wise.c55 unsigned long next_target; get_target_state() local
60 * cdev in use to determine the next_target. get_target_state()
63 next_target = instance->target; get_target_state()
68 next_target = (cur_state + 1) >= instance->upper ? get_target_state()
73 next_target = THERMAL_NO_TARGET; get_target_state()
76 return next_target; get_target_state()
82 next_target = cur_state < instance->upper ? get_target_state()
84 if (next_target < instance->lower) get_target_state()
85 next_target = instance->lower; get_target_state()
90 next_target = instance->upper; get_target_state()
95 next_target = THERMAL_NO_TARGET; get_target_state()
97 next_target = cur_state - 1; get_target_state()
98 if (next_target > instance->upper) get_target_state()
99 next_target = instance->upper; get_target_state()
105 next_target = THERMAL_NO_TARGET; get_target_state()
107 next_target = instance->lower; get_target_state()
113 return next_target; get_target_state()
/linux-4.1.27/drivers/md/
H A Ddm-ioctl.c1220 static int next_target(struct dm_target_spec *last, uint32_t next, void *end, next_target() function
1249 r = next_target(spec, next, end, &spec, &target_params); populate_table()

Completed in 146 milliseconds