Name

regulator_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,