Lines Matching full:min_uv
91 int min_uV, int max_uV) in check_range() argument
93 if (min_uV < info->desc.min_uV || min_uV > info->max_uV) in check_range()
190 int min_uV, int max_uV) in da9030_map_ldo14_voltage() argument
195 if (check_range(info, min_uV, max_uV)) { in da9030_map_ldo14_voltage()
196 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV); in da9030_map_ldo14_voltage()
200 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage()
201 if (min_uV < thresh) { in da9030_map_ldo14_voltage()
202 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage()
205 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
218 volt = rdev->desc->min_uV + in da9030_list_ldo14_voltage()
221 volt = (info->max_uV + rdev->desc->min_uV) / 2 + in da9030_list_ldo14_voltage()
318 .min_uV = (min) * 1000, \
338 .min_uV = (min) * 1000, \