Lines Matching refs:min_uV

289 				  int min_uV, int max_uV)  in regulator_map_voltage_iterate()  argument
303 if (ret < best_val && ret >= min_uV && ret <= max_uV) { in regulator_map_voltage_iterate()
327 int min_uV, int max_uV) in regulator_map_voltage_ascend() argument
339 if (ret >= min_uV && ret <= max_uV) in regulator_map_voltage_ascend()
358 int min_uV, int max_uV) in regulator_map_voltage_linear() argument
364 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear()
375 if (min_uV < rdev->desc->min_uV) in regulator_map_voltage_linear()
376 min_uV = rdev->desc->min_uV; in regulator_map_voltage_linear()
378 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
386 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_linear()
404 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument
419 linear_max_uV = range->min_uV + in regulator_map_voltage_linear_range()
422 if (!(min_uV <= linear_max_uV && max_uV >= range->min_uV)) in regulator_map_voltage_linear_range()
425 if (min_uV <= range->min_uV) in regulator_map_voltage_linear_range()
426 min_uV = range->min_uV; in regulator_map_voltage_linear_range()
432 ret = DIV_ROUND_UP(min_uV - range->min_uV, in regulator_map_voltage_linear_range()
445 if (voltage >= min_uV && voltage <= max_uV) in regulator_map_voltage_linear_range()
467 int min_uV, int max_uV) in regulator_map_voltage_pickable_linear_range() argument
483 linear_max_uV = range->min_uV + in regulator_map_voltage_pickable_linear_range()
486 if (!(min_uV <= linear_max_uV && max_uV >= range->min_uV)) { in regulator_map_voltage_pickable_linear_range()
491 if (min_uV <= range->min_uV) in regulator_map_voltage_pickable_linear_range()
492 min_uV = range->min_uV; in regulator_map_voltage_pickable_linear_range()
498 ret = DIV_ROUND_UP(min_uV - range->min_uV, in regulator_map_voltage_pickable_linear_range()
513 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_pickable_linear_range()
546 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in regulator_list_voltage_linear()
580 return range->min_uV + (range->uV_step * selector); in regulator_list_voltage_pickable_linear_range()
622 return range->min_uV + (range->uV_step * selector); in regulator_desc_list_voltage_linear_range()