other versions
- stretch 4.9.168-1
REGULATOR_IS_ENABLED(9) | API reference | REGULATOR_IS_ENABLED(9) |
NAME¶
regulator_is_enabled - is the regulator output enabledSYNOPSIS¶
int regulator_is_enabled(struct regulator * regulator);
ARGUMENTS¶
regulatorregulator source
DESCRIPTION¶
Returns positive if the regulator driver backing the source/client has requested that the device be enabled, zero if it hasn't, else a negative errno code.Note that the device backing this regulator handle can have multiple users, so it might be enabled even if regulator_enable was never called for this particular source.
AUTHORS¶
Liam Girdwood <lrg@slimlogic.co.uk>Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |