regulator_is_enabled_regmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is regulator_is_enabled_regmap(9) from the Kernel API Manual, and she is literally the standard is_enabled() for regmap users πŸ’…βœ¨

🌸 NAME 🌸

  • regulator_is_enabled_regmap β€” the standard is_enabled() for regmap users, periodt πŸ’–

✨ SYNOPSIS ✨

int regulator_is_enabled_regmap (struct regulator_dev *rdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdev β€” the regulator you're operating on, bestie. that's the whole arg 🫢

πŸ’… DESCRIPTION πŸ’…

okay so if your regulator uses regmap for its register I/O, you can set the enable_reg and enable_mask fields in its descriptor, and then use this as your is_enabled operation. it saves some code β€” slay, no cap ✨

πŸ”₯ SEE ALSO πŸ”₯

the actual kernel file is ./drivers/regulator/helpers.c, and the whole regulator bestie cinematic universe is right here:


mwah πŸ’– β€” from the Kernel API Manual, October 2026, page regulator_is_enabled_regmap(9), source ./drivers/regulator. bye bestie, go enable some regulators responsibly πŸ§šβ€β™€οΈπŸŒˆ

πŸ“¦ where this page comes from