tegra_powergate_set(9)
π 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 yourstruct tegra_pmc *, the main character of this whole operationidβ the partition ID (unsigned int), aka which partition we're talking about, iykyknew_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:
struct tegra_pmc(9)devm_tegra_pmc_get(9)tegra_pmc_powergate_power_on(9)tegra_pmc_powergate_power_off(9)tegra_powergate_is_powered(9)tegra_pmc_powergate_remove_clamping(9)tegra_pmc_powergate_sequence_power_up(9)tegra_pmc_io_pad_power_enable(9)tegra_pmc_io_pad_power_disable(9)tegra_get_cpu_powergate_id(9)tegra_pmc_cpu_is_powered(9)tegra_pmc_cpu_power_on(9)tegra_pmc_cpu_remove_clamping(9)
π«Ά 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
- 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