| REGULATOR_SET_VOLTAG(9) | API reference | REGULATOR_SET_VOLTAG(9) | 
NAME¶
regulator_set_voltage_sel_regmap - standard set_voltage_sel for regmap users
SYNOPSIS¶
int regulator_set_voltage_sel_regmap(struct regulator_dev * rdev, unsigned sel);
ARGUMENTS¶
rdev
regulator to operate on
sel
Selector to set
DESCRIPTION¶
Regulators that use regmap for their register I/O can set the vsel_reg and vsel_mask fields in their descriptor and then use this as their set_voltage_vsel operation, saving some code.
AUTHORS¶
Liam Girdwood <lrg@slimlogic.co.uk>
Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
  
  Wolfson Microelectronics,
Author.
COPYRIGHT¶
| June 2024 | Kernel Hackers Manual 3.10 |