1REGULATOR_LIST_VOLTA(9) API reference REGULATOR_LIST_VOLTA(9)
2
3
4
6 regulator_list_voltage_linear - List voltages with simple calculation
7
9 int regulator_list_voltage_linear(struct regulator_dev * rdev,
10 unsigned int selector);
11
13 rdev
14 Regulator device
15
16 selector
17 Selector to convert into a voltage
18
20 Regulators with a simple linear mapping between voltages and selectors
21 can set min_uV and uV_step in the regulator descriptor and then use
22 this function as their list_voltage operation,
23
25 Liam Girdwood <lrg@slimlogic.co.uk>
26 Author.
27
28 Mark Brown <broonie@opensource.wolfsonmicro.com>
29 Wolfson Microelectronics,
30
31
32 Author.
33
35Kernel Hackers Manual 3.10 June 2019 REGULATOR_LIST_VOLTA(9)