Scroll to navigation

REGULATOR_IS_ENABLED(9) API reference REGULATOR_IS_ENABLED(9)

NAME

regulator_is_enabled_regmap - standard is_enabled for regmap users

SYNOPSIS

int regulator_is_enabled_regmap(struct regulator_dev * rdev);

ARGUMENTS

rdev

regulator to operate on

DESCRIPTION

Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their descriptor and then use this as their is_enabled operation, saving some code.

AUTHORS

Liam Girdwood <lrg@slimlogic.co.uk>

Author.

Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,

Author.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10