1REGULATOR_COUNT_VOLT(9) API reference REGULATOR_COUNT_VOLT(9)
2
3
4
6 regulator_count_voltages - count regulator_list_voltage selectors
7
9 int regulator_count_voltages(struct regulator * regulator);
10
12 regulator
13 regulator source
14
16 Returns number of selectors, or negative errno. Selectors are numbered
17 starting at zero, and typically correspond to bitfields in hardware
18 registers.
19
21 Liam Girdwood <lrg@slimlogic.co.uk>
22 Author.
23
24 Mark Brown <broonie@opensource.wolfsonmicro.com>
25 Wolfson Microelectronics,
26
27
28 Author.
29
31Kernel Hackers Manual 2.6. November 2011 REGULATOR_COUNT_VOLT(9)