REGULATOR_LIST_VOLTA(9) API reference REGULATOR_LIST_VOLTA(9)NAMEregulator_list_voltage_linear - List voltages with simple calculation
SYNOPSIS
int regulator_list_voltage_linear(struct regulator_dev * rdev,
unsigned int selector);
ARGUMENTS
rdev
Regulator device
selector
Selector to convert into a voltage
DESCRIPTION
Regulators with a simple linear mapping between voltages and selectors
can set min_uV and uV_step in the regulator descriptor and then use
this function as their list_voltage operation,
AUTHORS
Liam Girdwood <lrg@slimlogic.co.uk>
Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 REGULATOR_LIST_VOLTA(9)