Lines Matching full:min_uv
242 static int twl6030coresmps_set_voltage(struct regulator_dev *rdev, int min_uV, in twl6030coresmps_set_voltage() argument
399 static int twl6030smps_map_voltage(struct regulator_dev *rdev, int min_uV, in twl6030smps_map_voltage() argument
407 if (min_uV == 0) in twl6030smps_map_voltage()
409 else if ((min_uV >= 600000) && (min_uV <= 1300000)) { in twl6030smps_map_voltage()
410 vsel = DIV_ROUND_UP(min_uV - 600000, 12500); in twl6030smps_map_voltage()
416 else if ((min_uV > 1900000) && (min_uV <= 2100000)) in twl6030smps_map_voltage()
418 else if ((min_uV > 1800000) && (min_uV <= 1900000)) in twl6030smps_map_voltage()
420 else if ((min_uV > 1500000) && (min_uV <= 1800000)) in twl6030smps_map_voltage()
422 else if ((min_uV > 1350000) && (min_uV <= 1500000)) in twl6030smps_map_voltage()
424 else if ((min_uV > 1300000) && (min_uV <= 1350000)) in twl6030smps_map_voltage()
430 if (min_uV == 0) in twl6030smps_map_voltage()
432 else if ((min_uV >= 700000) && (min_uV <= 1420000)) { in twl6030smps_map_voltage()
433 vsel = DIV_ROUND_UP(min_uV - 700000, 12500); in twl6030smps_map_voltage()
439 else if ((min_uV > 1900000) && (min_uV <= 2100000)) in twl6030smps_map_voltage()
441 else if ((min_uV > 1800000) && (min_uV <= 1900000)) in twl6030smps_map_voltage()
443 else if ((min_uV > 1500000) && (min_uV <= 1800000)) in twl6030smps_map_voltage()
445 else if ((min_uV > 1350000) && (min_uV <= 1500000)) in twl6030smps_map_voltage()
451 if (min_uV == 0) { in twl6030smps_map_voltage()
453 } else if ((min_uV >= 1852000) && (max_uV <= 4013600)) { in twl6030smps_map_voltage()
454 vsel = DIV_ROUND_UP(min_uV - 1852000, 38600); in twl6030smps_map_voltage()
459 if (min_uV == 0) { in twl6030smps_map_voltage()
461 } else if ((min_uV >= 2161000) && (min_uV <= 4321000)) { in twl6030smps_map_voltage()
462 vsel = DIV_ROUND_UP(min_uV - 2161000, 38600); in twl6030smps_map_voltage()
563 .min_uV = mVolts * 1000, \