1REGULATOR_SET_VOLTAG(9) API reference REGULATOR_SET_VOLTAG(9)
2
3
4
6 regulator_set_voltage_sel_regmap - standard set_voltage_sel for regmap
7 users
8
10 int regulator_set_voltage_sel_regmap(struct regulator_dev * rdev,
11 unsigned sel);
12
14 rdev
15 regulator to operate on
16
17 sel
18 Selector to set
19
21 Regulators that use regmap for their register I/O can set the vsel_reg
22 and vsel_mask fields in their descriptor and then use this as their
23 set_voltage_vsel operation, saving some code.
24
26 Liam Girdwood <lrg@slimlogic.co.uk>
27 Author.
28
29 Mark Brown <broonie@opensource.wolfsonmicro.com>
30 Wolfson Microelectronics,
31
32
33 Author.
34
36Kernel Hackers Manual 3.10 June 2019 REGULATOR_SET_VOLTAG(9)