regulator_re...er_always_on(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms