Name

regulator_map_voltage_linear — map_voltage for simple linear mappings

Synopsis

int fsfuncregulator_map_voltage_linear (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 providing min_uV and uV_step in their regulator_desc can use this as their map_voltage operation.