Scroll to navigation

REGULATOR_GET_VOLTAG(9) API reference REGULATOR_GET_VOLTAG(9)

NAME

regulator_get_voltage_sel_regmap - standard get_voltage_sel for regmap users

SYNOPSIS

int regulator_get_voltage_sel_regmap(struct regulator_dev * rdev);

ARGUMENTS

rdev

regulator to operate on

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 get_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