Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/regulator/
Dtwl-regulator.c51 u16 min_mV; member
391 return ((info->min_mV + (index * 100)) * 1000); in twl6030ldo_list_voltage()
401 if ((min_uV/1000 < info->min_mV) || (max_uV/1000 > info->max_mV)) in twl6030ldo_set_voltage()
454 return info->min_mV * 1000; in twlfixed_list_voltage()
461 return info->min_mV * 1000; in twlfixed_get_voltage()
517 .min_mV = min_mVolts, \
535 .min_mV = mVolts, \
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 …]