Name
regulator_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.