1REGULATOR_LIST_VOLTA(9) API reference REGULATOR_LIST_VOLTA(9)
2
3
4
6 regulator_list_voltage - enumerate supported voltages
7
9 int regulator_list_voltage(struct regulator * regulator,
10 unsigned selector);
11
13 regulator
14 regulator source
15
16 selector
17 identify voltage to list
18
20 can sleep
21
23 Returns a voltage that can be passed to regulator_set_voltage(), zero
24 if this selector code can't be used on this system, or a negative
25 errno.
26
28 Liam Girdwood <lrg@slimlogic.co.uk>
29 Author.
30
31 Mark Brown <broonie@opensource.wolfsonmicro.com>
32 Wolfson Microelectronics,
33
34
35 Author.
36
38Kernel Hackers Manual 3.10 June 2019 REGULATOR_LIST_VOLTA(9)