regulator_re...er_always_on(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regulator_re...er_always_on β€” Kernel API Manual, section 9 πŸŽ€

okay bestie, buckle up, because this is the page for regulator_register_always_on from section 9 of the Kernel API Manual, and it's literally so niche but so important. it's giving "small helper, big job" energy fr fr πŸ¦‹


✨ NAME ✨

regulator_register_always_on β€” no cap, this one registers an always-on regulator and gives it a fixed name. that's the whole vibe. a regulator that is, like, always on. iconic πŸ’…


🌸 SYNOPSIS 🌸

struct platform_device * regulator_register_always_on (int id , const char *name , struct regulator_consumer_supply *supplies , int num_supplies , int uv );

here's the whole signature, character for character, because we do not play about types in this house 🫢


🧚 ARGUMENTS 🧚

  • id β€” the platform device id. it's the id, bestie. that's it, that's the whole thing πŸŽ€
  • name β€” the name you want the regulator to use. pick it, own it, slay ✨
  • supplies β€” the consumers for this regulator. yep, the whole consumer situation lives here πŸ’€
  • num_supplies β€” how many consumers there are. literally just the count, keep it accurate πŸ™ˆ
  • uv β€” the voltage, measured in microvolts. microvolts!! tiny units, big energy ⚑

πŸ”₯ RETURN πŸ”₯

you get back a pointer to the registered platform device β€” so good, so correct, main character energy πŸ‘‘

or... NULL if memory allocation fails. which, like, we're manifesting it doesn't, but now you know 😭


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/regulator/fixed-helper.c β€” go read the source, iykyk, it's all there πŸ“

and that's the page, bestie!! stay regulated, stay always-on, and don't forget to vibe check your memory allocations before you ship πŸ’œπŸŒˆ

source path: ./drivers/regulator Β· dated October 2026 Β· regulator_re...er_always_on(9) β€” mwah, catch you in the next manpage πŸŽ€πŸ’–

πŸ“¦ where this page comes from