regulator_disable_regmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regulator_disable_regmap(9) β€” the Kernel API Manual glow-up ✨

Okay so bestie, buckle in, because we're about to get into regulator_disable_regmap(9) and honestly? It's giving "small function, big main character energy" πŸŽ€ This one lives in the Kernel API Manual and it's lowkey iconic for anyone doing regulator stuff with regmap.


✨ NAME ✨

regulator_disable_regmap β€” the standard disable() for all my regmap users out there 🫢 no cap, this is the one you reach for.


🌸 SYNOPSIS 🌸

int regulator_disable_regmap (struct regulator_dev *rdev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” the regulator we're operating on πŸ’– like, this is the main character of the function, the one getting disabled.

πŸ’« DESCRIPTION πŸ’«

So here's the vibe: regulators that use regmap for their register I/O can just set the enable_reg and enable_mask fields in their descriptor, and then use this function as their disable operation. And why? Because it literally saves you some code 😭✨ it's the ultimate "work smarter not harder" moment. Obsessed.


πŸ‘‘ SEE ALSO πŸ‘‘

The whole squad, fr fr β€” every single one of these is linked and you should show them love:


And that's the whole thing, bestie 🌈 this page is from ./drivers/regulator dated October 2026 in the Kernel API Manual. Now go forth and disable those regulators with confidence πŸ’œ you've got this, periodt. πŸ’…

πŸ“¦ where this page comes from