1REGULATOR_IS_ENABLED(9) API reference REGULATOR_IS_ENABLED(9)
2
3
4
6 regulator_is_enabled_regmap - standard is_enabled for regmap users
7
9 int regulator_is_enabled_regmap(struct regulator_dev * rdev);
10
12 rdev
13 regulator to operate on
14
16 Regulators that use regmap for their register I/O can set the
17 enable_reg and enable_mask fields in their descriptor and then use this
18 as their is_enabled operation, saving some code.
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 3.10 June 2019 REGULATOR_IS_ENABLED(9)