Lines Matching full:min_uv

304  * @min_uV: Lower bound for voltage
313 int min_uV, int max_uV) in regulator_map_voltage_iterate() argument
327 if (ret < best_val && ret >= min_uV && ret <= max_uV) { in regulator_map_voltage_iterate()
344 * @min_uV: Lower bound for voltage
351 int min_uV, int max_uV) in regulator_map_voltage_ascend() argument
363 if (ret >= min_uV && ret <= max_uV) in regulator_map_voltage_ascend()
375 * @min_uV: Lower bound for voltage
378 * Drivers providing min_uV and uV_step in their regulator_desc can
382 int min_uV, int max_uV) in regulator_map_voltage_linear() argument
388 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear()
399 if (min_uV < rdev->desc->min_uV) in regulator_map_voltage_linear()
400 min_uV = rdev->desc->min_uV; in regulator_map_voltage_linear()
402 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
410 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_linear()
421 * @min_uV: Lower bound for voltage
428 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument
444 ret = linear_range_get_selector_high(range, min_uV, &sel, in regulator_map_voltage_linear_range()
455 if (voltage >= min_uV && voltage <= max_uV) in regulator_map_voltage_linear_range()
470 * @min_uV: Lower bound for voltage
477 int min_uV, int max_uV) in regulator_map_voltage_pickable_linear_range() argument
497 if (!(min_uV <= linear_max_uV && max_uV >= range->min)) { in regulator_map_voltage_pickable_linear_range()
502 ret = linear_range_get_selector_high(range, min_uV, &sel, in regulator_map_voltage_pickable_linear_range()
518 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_pickable_linear_range()
538 * selectors can set min_uV and uV_step in the regulator descriptor
554 return desc->min_uV + (desc->uV_step * selector); in regulator_desc_list_voltage_linear()
565 * selectors can set min_uV and uV_step in the regulator descriptor