1. NAME

regulator_map_voltage_iterate - map_voltage based on list_voltage

2. SYNOPSIS

int regulator_map_voltage_iterate(struct regulator_dev *  rdev , int  min_uV , int  max_uV );

3. ARGUMENTS

rdev
    Regulator to operate on

min_uV
    Lower bound for voltage

max_uV
    Upper bound for voltage

4. 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.

5. AUTHORS

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT