Searched refs:min_sel (Results 1 – 2 of 2) sorted by relevance
47 unsigned int min_sel; member55 .min_sel = _min_sel, \169 if (r->min_sel > selector || r->max_sel < selector) in linear_range_get_value()172 *val = r->min + (selector - r->min_sel) * r->step; in linear_range_get_value()183 if (r[i].min_sel <= selector && r[i].max_sel >= selector) in linear_range_get_value_array()192 return r->min + (r->max_sel - r->min_sel) * r->step; in linear_range_get_max_value()206 *selector = r->min_sel; in linear_range_get_selector_high()215 *selector = DIV_ROUND_UP(val - r->min, r->step) + r->min_sel; in linear_range_get_selector_high()
96 u8 min_sel; member393 val = info->min_sel; in _buck_set_value()395 val = ((uvolt - info->min_uv) / info->step_uv) + info->min_sel; in _buck_set_value()486 val = info->min_sel; in _buck_set_suspend_value()488 val = ((uvolt - info->min_uv) / info->step_uv) + info->min_sel; in _buck_set_suspend_value()1052 if (val >= info->min_sel && val <= info->max_sel) in buck_get_value()1058 if (val <= info->max_sel && val >= info->min_sel) in buck_get_value()1063 return info->min_uv + (val - info->min_sel) * info->step_uv; in buck_get_value()1088 if (val <= info->max_sel && val >= info->min_sel) in buck_get_suspend_value()1094 if (val <= info->max_sel && val >= info->min_sel) in buck_get_suspend_value()[all …]