Scroll to navigation

REGULATOR_MAP_VOLTAG(9) API reference REGULATOR_MAP_VOLTAG(9)

NAME

regulator_map_voltage_linear - map_voltage for simple linear mappings

SYNOPSIS

int regulator_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.

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