genpd_runtime_resume(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« genpd_runtime_resume β€” a Kernel API Manual moment πŸ’«

okay so bestie, welcome to the genpd_runtime_resume(9) page, aka the glow-up era of a device that lives in an I/O PM domain ✨ this is kernel API manual territory, so grab your iced coffee and let's go 🫢


🌸 NAME 🌸

genpd_runtime_resume β€” resume a device belonging to an I/O PM domain. that's it, that's the whole vibe. the device was napping, and now we're waking it up πŸ’…


✨ SYNOPSIS ✨

int genpd_runtime_resume (struct device *dev);

like, it returns an int and it takes exactly one thing. simple. iconic. no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device we're resuming. like, the actual one. wakey wakey bestie β˜€οΈ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea πŸ“: this function carries out a runtime resume of a device, and it does it under the assumption that the device's pm_domain field points to the domain member of an object of type struct generic_pm_domain β€” which is the little struct that represents a PM domain consisting of I/O devices πŸ‘‘

read that assumption again, because it's doing a LOT of work: pm_domain field β†’ domain member β†’ object of type struct generic_pm_domain β†’ representing a PM domain of I/O devices. the way that whole chain has to line up 😭 that's the contract, and the function is literally just trusting you on it. no vibe check, no fallback, just assumption energy πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

the friend group, in order, because I would never leave anyone out 🫢

fr fr, that's a whole group chat of genpd functions and every single one of them is invited πŸ’€ don't skip any of them, they all ate πŸ”₯

okay that's the page!! mwah πŸ’– big sign-off energy: this whole thing lives in ./drivers/pmdomain, dated October 2026, and it's the genpd_runtime_resume(9) page β€” the one and only, main character energy πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from