Home
last modified time | relevance | path

Searched refs:min_mV (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/regulator/
Dwm8350-regulator.c367 min_mV = min_uV / 1000, max_mV = max_uV / 1000; in wm8350_dcdc_set_voltage() local
370 if (min_mV < 850 || min_mV > 4025) in wm8350_dcdc_set_voltage()
376 mV = (min_mV - 826) / 25; in wm8350_dcdc_set_voltage()
379 BUG_ON(wm8350_dcdc_val_to_mvolts(mV) < min_mV); in wm8350_dcdc_set_voltage()
760 int volt_reg, ldo = rdev_get_id(rdev), mV, min_mV = min_uV / 1000, in wm8350_ldo_set_voltage() local
764 if (min_mV < 900 || min_mV > 3300) in wm8350_ldo_set_voltage()
769 if (min_mV < 1800) { in wm8350_ldo_set_voltage()
771 mV = (min_mV - 851) / 50; in wm8350_ldo_set_voltage()
774 BUG_ON(wm8350_ldo_val_to_mvolts(mV) < min_mV); in wm8350_ldo_set_voltage()
777 mV = ((min_mV - 1701) / 100) + 16; in wm8350_ldo_set_voltage()
[all …]
Dtwl-regulator.c54 u16 min_mV; member
597 return ((info->min_mV + (index * 100)) * 1000); in twl6030ldo_list_voltage()
607 if ((min_uV/1000 < info->min_mV) || (max_uV/1000 > info->max_mV)) in twl6030ldo_set_voltage()
660 return info->min_mV * 1000; in twlfixed_list_voltage()
667 return info->min_mV * 1000; in twlfixed_get_voltage()
973 .min_mV = min_mVolts, \
988 .min_mV = min_mVolts, \
1005 .min_mV = mVolts, \
1034 .min_mV = 600, \