1REGULATOR_GET_CURREN(9) API reference REGULATOR_GET_CURREN(9)
2
3
4
6 regulator_get_current_limit - get regulator output current
7
9 int regulator_get_current_limit(struct regulator * regulator);
10
12 regulator
13 regulator source
14
16 This returns the current supplied by the specified current sink in uA.
17
19 If the regulator is disabled it will return the current 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_CURREN(9)