devm_tegra_pmc_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_tegra_pmc_get(9) β€” Kernel API Manual, but make it make sense

okay so bestie, welcome to the glow-up edition of devm_tegra_pmc_get(9) ✨ this is the Kernel API Manual page you've been looking for, and honestly? it's short, it's sweet, and it's giving "tiny function, big main character energy" πŸŽ€


✨ NAME ✨

devm_tegra_pmc_get β€” find the PMC for a given device πŸ¦‹

like, it goes and finds the PMC that belongs to a device. that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

struct tegra_pmc * devm_tegra_pmc_get (struct device *dev );

look at her. one argument. no drama. icon behavior πŸ’…


🫢 ARGUMENTS 🫢

  • dev β€” the device you're hunting the PMC for πŸ” like, this device right here, bestie, that's the one.

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• this function returns a pointer to the PMC on success πŸŽ‰ β€” or, if things don't go your way, it gives you an ERR_PTR-encoded error code instead 😭

that's it. that's the whole function. short and iconic, honestly obsessed.

tiny reminder that the failure case comes back as an ERR_PTR-encoded error code β€” not a plain NULL β€” so check it properly, bestie, don't do her dirty πŸ™ˆ

🌈 SEE ALSO 🌈

okay this is the friend group, and they're all linked from the Kernel file ./drivers/soc/tegra/pmc.c πŸ‘‘

go read them. iykyk πŸ”₯


so anyway, that's the whole page, periodt πŸ’œ this little cutie lives in ./drivers/soc/tegra, and this rendering was dated October 2026, filed under devm_tegra_pmc_get(9) β€” love her, mean it, bye bestie!! πŸ§šβœ¨πŸ“

πŸ“¦ where this page comes from