other versions
- stretch 4.9.168-1
REGULATOR_COUNT_VOLT(9) | API reference | REGULATOR_COUNT_VOLT(9) |
NAME¶
regulator_count_voltages - count regulator_list_voltage selectorsSYNOPSIS¶
int regulator_count_voltages(struct regulator * regulator);
ARGUMENTS¶
regulatorregulator source
DESCRIPTION¶
Returns number of selectors, or negative errno. Selectors are numbered starting at zero, and typically correspond to bitfields in hardware registers.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. |