Lines Matching full:min_uv
287 * @min_uV: Lower bound for voltage
296 int min_uV, int max_uV) in regulator_map_voltage_iterate() argument
310 if (ret < best_val && ret >= min_uV && ret <= max_uV) { in regulator_map_voltage_iterate()
327 * @min_uV: Lower bound for voltage
334 int min_uV, int max_uV) in regulator_map_voltage_ascend() argument
346 if (ret >= min_uV && ret <= max_uV) in regulator_map_voltage_ascend()
358 * @min_uV: Lower bound for voltage
361 * Drivers providing min_uV and uV_step in their regulator_desc can
365 int min_uV, int max_uV) in regulator_map_voltage_linear() argument
371 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear()
382 if (min_uV < rdev->desc->min_uV) in regulator_map_voltage_linear()
383 min_uV = rdev->desc->min_uV; in regulator_map_voltage_linear()
385 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
393 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_linear()
404 * @min_uV: Lower bound for voltage
411 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument
427 ret = linear_range_get_selector_high(range, min_uV, &sel, in regulator_map_voltage_linear_range()
438 if (voltage >= min_uV && voltage <= max_uV) in regulator_map_voltage_linear_range()
453 * @min_uV: Lower bound for voltage
460 int min_uV, int max_uV) in regulator_map_voltage_pickable_linear_range() argument
480 if (!(min_uV <= linear_max_uV && max_uV >= range->min)) { in regulator_map_voltage_pickable_linear_range()
485 ret = linear_range_get_selector_high(range, min_uV, &sel, in regulator_map_voltage_pickable_linear_range()
501 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_pickable_linear_range()
521 * selectors can set min_uV and uV_step in the regulator descriptor
537 return desc->min_uV + (desc->uV_step * selector); in regulator_desc_list_voltage_linear()
548 * selectors can set min_uV and uV_step in the regulator descriptor