Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/sys/
Dlinear_range.h266 int32_t val_min, int32_t val_max, in linear_range_get_win_index() argument
271 if ((val_max < r->min) || (val_min > r_max)) { in linear_range_get_win_index()
275 if (val_min < r->min) { in linear_range_get_win_index()
290 *idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val_min - r->min), r->step); in linear_range_get_win_index()
320 int32_t val_min, in linear_range_group_get_win_index() argument
325 if (val_min > linear_range_get_max_value(&r[i])) { in linear_range_group_get_win_index()
329 return linear_range_get_win_index(&r[i], val_min, val_max, idx); in linear_range_group_get_win_index()