1REGULATOR_MAP_VOLTAG(9) API reference REGULATOR_MAP_VOLTAG(9)
2
3
4
6 regulator_map_voltage_iterate - map_voltage based on list_voltage
7
9 int regulator_map_voltage_iterate(struct regulator_dev * rdev,
10 int min_uV, int max_uV);
11
13 rdev
14 Regulator to operate on
15
16 min_uV
17 Lower bound for voltage
18
19 max_uV
20 Upper bound for voltage
21
23 Drivers implementing set_voltage_sel and list_voltage can use this as
24 their map_voltage operation. It will find a suitable voltage by calling
25 list_voltage until it gets something in bounds for the requested
26 voltages.
27
29 Liam Girdwood <lrg@slimlogic.co.uk>
30 Author.
31
32 Mark Brown <broonie@opensource.wolfsonmicro.com>
33 Wolfson Microelectronics,
34
35
36 Author.
37
39Kernel Hackers Manual 3.10 June 2019 REGULATOR_MAP_VOLTAG(9)