tegra_powergate_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tegra_powergate_set(9) β€” the Kernel API Manual page, bestie edition

okay so this is tegra_powergate_set from the Kernel API Manual, and honestly? it's short, it's sweet, it's a whole vibe. it does exactly one thing and it does it iconically ✨


✨ NAME ✨

tegra_powergate_set β€” set the state of a partition πŸŽ€

like literally that's the job. set the state. of a partition. that's it, that's the whole personality.


πŸ¦‹ SYNOPSIS πŸ¦‹

int tegra_powergate_set (struct tegra_pmc *pmc , unsigned int id , bool new_state );

she returns an int and takes three things, no cap πŸ’œ


🌸 ARGUMENTS 🌸

  • pmc β€” the power management controller 🧚 that's your struct tegra_pmc *, the main character of this whole operation
  • id β€” the partition ID (unsigned int), aka which partition we're talking about, iykyk
  • new_state β€” the new state of the partition (bool), so like… the state it's about to be in. new. state. periodt πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” all from the kernel file ./drivers/soc/tegra/pmc.c:


🫢 that's genuinely everybody in the group chat, go say hi to all of them or whatever

and that's the page!! 🌈 this little legend came out of ./drivers/soc/tegra in October 2026, brought to you by the Kernel API Manual, and the file itself is tegra_powergate_set(9) β€” mwah, slay, bye bestie πŸ’–πŸŽ€πŸ’€

πŸ“¦ where this page comes from