Name

regulator_count_voltages — count regulator_list_voltage selectors

Synopsis

int regulator_count_voltages (struct regulator * regulator);
 

Arguments

regulator

regulator source

Description

Returns number of selectors, or negative errno. Selectors are numbered starting at zero, and typically correspond to bitfields in hardware registers.