regulator_bu...orce_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regulator_bu...orce_disable(9) β€” from the Kernel API Manual πŸŽ€

okay so bestie. this one's a Kernel API Manual page, and it's literally the "cut the power, bestie, RIGHT NOW" function. sit down, grab a strawberry drink πŸ“, we're doing this.


✨ NAME ✨

regulator_bulk_force_disable β€” force disable multiple regulator consumers 😀⚑ β€” like regulator_disable but with zero chill and no take-backsies.


πŸ¦‹ SYNOPSIS πŸ¦‹

int regulator_bulk_force_disable (int num_consumers , struct
regulator_bulk_data *consumers );

that's it. that's the whole signature. she's an int return, she takes two args, and she does not ask permission ✨


🌸 ARGUMENTS 🌸

  • num_consumers β€” the number of consumers. like, how many of them are we shutting off πŸ’€
  • consumers β€” the consumer data; the clients are stored here. this is where the whole friend group lives 🫢

πŸ’– DESCRIPTION πŸ’–

so this convenience API lets consumers forcibly disable multiple regulator clients in a single API call. one call, all of them, no cap πŸ™ˆ. it's giving "everyone out of the pool, NOW" energy and honestly? iconic.


⚠️ NOTE ⚠️

okay this part is serious, so listen up. this should be used for situations where device damage will likely occur if the regulators are not disabled (e.g. over temp β€” that's thermals going feral πŸ”₯).

and here's the little detail that matters: although the regulator_force_disable function call for some consumers can return error numbers, the function is called for all consumers. so even if one of them throws a lil error at you, everybody still gets the call. no skipping. no favorites. periodt πŸ’…


⭐ RETURN ⭐

0 on success, or a negative error number on failure 😭. that's the whole vibe check.


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, the whole group chat, everybody is here. Kernel file ./drivers/regulator/core.c is the place they all live 🏠:


and that's the page!! πŸ’œβœ¨ no thoughts, just force-disabling regulators before your board literally melts 🫢

mwah πŸ’‹ β€” this gem lives in ./drivers/regulator, stamped October 2026, and yeah the header still spells it πŸŽ€ regulator_bu...orce_disable(9) πŸŽ€ because the manpage title bar is dramatic like that. ok bye bestie, go disable some regulators responsibly 😭πŸ”₯

πŸ“¦ where this page comes from