pf9453_regul...nable_regmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pf9453_regulator_enable_regmap β€” the glow-up that turns your regulator on, specially made for the regmap girlies ✨

Okay so bestie, this is a kernel API manual page (Kernel API Manual, to be exact πŸ‘‘) and the whole thing is literally about one lil function that flips a regulator on. Let's get into it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int pf9453_regulator_enable_regmap (struct regulator_dev *rdev );

That's it, that's the whole signature β€” not me keeping it short, it's genuinely that clean πŸ’…


🌸 ARGUMENTS 🌸

  • rdev β€” the regulator you're operating on. Like, the actual struct regulator_dev you want to mess with. Main character energy fr fr 🫢

✨ DESCRIPTION ✨

So here's the vibe: some regulators do their register I/O through regmap (iykyk). If that's your fave, you can set the enable_reg and enable_mask fields in your descriptor β€” yes, both of them, don't skip one πŸ™ˆ β€” and then just use this function as your enable operation.

The way that saves you some code… obsessed 😭 it's literally free real estate. No cap.


πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” slay, she's enabled πŸ’…
  • negative errno if things went sideways β€” so like, check it, bestie, don't just assume the vibes are immaculate πŸ’€

⭐ SEE ALSO ⭐


Lowkey a reminder: this lives under ./drivers/regulator in the kernel tree, so that's your neighborhood, bestie 🏑

And that's the page! πŸŽ€ This lil masterpiece is from ./drivers/regulator, dated October 2026, and yeah β€” it's pf9453_regul...nable_regmap(9) all the way through, abridged title and all 🫢 periodt πŸ’œ

πŸ“¦ where this page comes from