tegra_pmc_i...power_enable(9)
π tegra_pmc_io_pad_power_enable(9) β the Kernel API Manual era β¨
okay so bestie, welcome to the Kernel API Manual π this little page is all about tegra_pmc_io_pad_power_enable(9), and honestly? it's giving "small function, huge responsibility." let's get into it π
β¨ NAME β¨
tegra_pmc_io_pad_power_enable β literally just enable power to an I/O pad. that's it. that's the whole vibe π¦
πΈ SYNOPSIS πΈ
int tegra_pmc_io_pad_power_enable (struct tegra_pmc *pmc , enum
tegra_io_pad id );
no cap, that's the exact signature β copy it exactly, we do not freestyle function signatures in this house π
π¦ ARGUMENTS π¦
pmcβ the power management controller. your main character struct, the one holding the vibes together πidβ the Tegra I/O pad ID for the pad you wanna power up. yes, that one. the one you're enabling power for π₯
β RETURN β
0on success β slay, it worked β¨- a negative error code on failure β π not the negative error code. it happens. check it, always, fr fr.
π SEE ALSO π
like, go read these too, iykyk π
- Kernel file
./drivers/soc/tegra/pmc.cβ the source of truth, the mothership π«Ά struct 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_powergate_is_powered(9)tegra_pmc_powergate_remove_clamping(9)tegra_pmc_powergate_sequence_power_up(9)tegra_pmc_io_pad_power_disable(9)β the iconic opposite twin, obviously πtegra_get_cpu_powergate_id(9)tegra_pmc_cpu_is_powered(9)tegra_pmc_cpu_power_on(9)tegra_pmc_cpu_remove_clamping(9)
side note bestie: this whole list is the friend group. one does the power-on, another does the power-off, one removes clamping, one checks if it's even powered. read the whole squad before you go touching pad power π
okay that's the page!! πΈ mwah π this was brought to you by ./drivers/soc/tegra and dated October 2026 β so like, mark your calendar, take a screenshot, whatever you gotta do. bye bestie, go enable some pad power 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