tegra_pmc_p...te_power_off(9)
π tegra_pmc_powergate_power_off β NAME β¨
okay so this is the tegra_pmc_powergate_power_off page from the Kernel API Manual, and it's literally the "cut the lights on a partition" function π«Ά like its whole brand is: power off a partition. that's it, that's the vibe. short and iconic.
πΈ SYNOPSIS πΈ
int tegra_pmc_powergate_power_off (struct tegra_pmc *pmc , unsigned int
id );
so she takes two things and hands you back an int. no cap, that's the whole signature β copy it exactly, bestie π
π¦ ARGUMENTS π¦
pmcβ the power management controller π this is your main character struct, the thing doing the actual managing.idβ the partition ID π like which partition we're talking about. you gotta tell her which one.
ngl, two arguments and both are doing their job. we love a low-effort king π
π SEE ALSO π
this is the friend group, and every single one of them is invited to the function π the kernel file lives at ./drivers/soc/tegra/pmc.c β go say hi:
struct tegra_pmc(9)tegra_powergate_set(9)devm_tegra_pmc_get(9)tegra_pmc_powergate_power_on(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)
like ok she's clearly the power-off twin of tegra_pmc_powergate_power_on(9) β siblings, your honor πβ¨ and yes the CPU crew showed up too, iykyk π
reminder bestie: this page is short on purpose. there's no extra description hiding somewhere, no default values, no return code tea to spill β just the name, the signature, the two arguments, and the whole squad in SEE ALSO. don't go inventing lore that isn't there π
later bestie π this was tegra_pmc_p...te_power_off(9) β Kernel API Manual, sourced from ./drivers/soc/tegra, stamped October 2026. mwah, go power off a partition responsibly β¨ππ¦
π¦ 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