Lines Matching refs:max_uV
79 int max_uV;
100 int min_uV, int max_uV)
102 if (min_uV < info->min_uV || min_uV > info->max_uV)
110 int min_uV, int max_uV)
116 if (check_range(info, min_uV, max_uV)) {
117 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV);
183 if (ret > info->max_uV)
190 int min_uV, int max_uV)
197 if (check_range(info, min_uV, max_uV)) {
198 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV);
217 int min_uV, int max_uV)
224 if (check_range(info, min_uV, max_uV)) {
225 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV);
229 thresh = (info->max_uV + info->min_uV) / 2;
260 return (info->max_uV + info->min_uV) / 2 +
266 int min_uV, int max_uV)
273 if (check_range(info, min_uV, max_uV)) {
274 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV);
292 int min_uV, int max_uV)
298 if (check_range(info, min_uV, max_uV)) {
299 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV);
398 .max_uV = (max) * 1000, \
418 .max_uV = (max) * 1000, \