tegra_powergate_is_powered(9)
β¨ tegra_powergate_is_powered(9) β¨
okay bestie, welcome to the Kernel API Manual π this one is short and sweet and honestly it's giving "little function that could" β the way it just checks if a partition is powered, no drama, no cap π«Ά
πΈ NAME πΈ
tegra_powergate_is_powered β check if partition is powered π
like⦠it does exactly what it says on the tin, and honestly? iconic.
π¦ SYNOPSIS π¦
int tegra_powergate_is_powered (struct tegra_pmc *pmc , unsigned int id
);
yep that's the whole thing, and yes it returns an int β noted, remembered, respect π
π ARGUMENTS π
pmcβ the power management controller, aka your main character struct, the whole vibe check happens through this π§idβ the partition ID, so it knows which partition we're asking about β
π SEE ALSO π
the whole friend group, fr fr β no gatekeeping here:
- Kernel file
./drivers/soc/tegra/pmc.candstruct tegra_pmc(9) tegra_powergate_set(9)devm_tegra_pmc_get(9)tegra_pmc_powergate_power_on(9)tegra_pmc_powergate_power_off(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)
lowkey a whole squad, highkey obsessed π₯ go read them too, iykyk π
alright that's the page!! tysm for reading, mwah π this came from ./drivers/soc/tegra, dated October 2026 β bestie it's literally from the future and we ate anyway πβ¨π
π¦ 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