REGULATOR_MAP_VOLTAG(9) API reference REGULATOR_MAP_VOLTAG(9)NAMEregulator_map_voltage_iterate - map_voltage based on list_voltage
SYNOPSIS
int regulator_map_voltage_iterate(struct regulator_dev * rdev,
int min_uV, int max_uV);
ARGUMENTS
rdev
Regulator to operate on
min_uV
Lower bound for voltage
max_uV
Upper bound for voltage
DESCRIPTION
Drivers implementing set_voltage_sel and list_voltage can use this as
their map_voltage operation. It will find a suitable voltage by calling
list_voltage until it gets something in bounds for the requested
voltages.
AUTHORS
Liam Girdwood <lrg@slimlogic.co.uk>
Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 REGULATOR_MAP_VOLTAG(9)