1REGULATOR_GET_VOLTAG(9) API reference REGULATOR_GET_VOLTAG(9)
2
3
4
6 regulator_get_voltage - get regulator output voltage
7
9 int regulator_get_voltage(struct regulator * regulator);
10
12 regulator
13 regulator source
14
16 This returns the current regulator voltage in uV.
17
19 If the regulator is disabled it will return the voltage value. This
20 function should not be used to determine regulator state.
21
23 Liam Girdwood <lrg@slimlogic.co.uk>
24 Author.
25
26 Mark Brown <broonie@opensource.wolfsonmicro.com>
27 Wolfson Microelectronics,
28
29
30 Author.
31
33Kernel Hackers Manual 2.6. November 2011 REGULATOR_GET_VOLTAG(9)