regulator_get_voltage(9) - phpMan
REGULATOR_GET_VOLTAG(9) API reference REGULATOR_GET_VOLTAG(9)
NAME
regulator_get_voltage - get regulator output voltage
SYNOPSIS
int regulator_get_voltage(struct regulator * regulator);
ARGUMENTS
regulator
regulator source
DESCRIPTION
This returns the current regulator voltage in uV.
NOTE
If the regulator is disabled it will return the voltage value. This function should not be
used to determine regulator state.
AUTHORS
Liam Girdwood <lrg AT slimlogic.uk>
Author.
Mark Brown <broonie AT opensource.com>
Wolfson Microelectronics,
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 REGULATOR_GET_VOLTAG(9)
|