dev_pm_genpd_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie!! welcome to the Kernel API Manual ✨ today’s main character is dev_pm_genpd_suspend(9), and the vibe check says: synchronous genpd suspend for a device. no cap, she ate. πŸ’…

🌸 NAME 🌸

Synchronously try to suspend the genpd for @dev β€” that’s the whole assignment, bestie. literally the function’s name doing exactly what it says on the label. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

it’s giving very void, very pointer-to-struct device:

void dev_pm_genpd_suspend (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that is attached to the genpd, that can be suspended. that’s the one you’re handing over, bestie πŸ’–

πŸ’– DESCRIPTION πŸ’–

okay so here’s the tea β˜•: this routine should typically be called for a device that needs to be suspended during the syscore suspend phase. it may also be called during suspend-to-idle to suspend a corresponding CPU device that is attached to a genpd. that’s the lore, and honestly? iconic. ✨

🌈 SEE ALSO 🌈

like, go look at these too β€” iykyk πŸ‘€:


okayyyyy that’s the whole page!! source/version vibes: ./drivers/pmdomain Β· date: October 2026 Β· page: dev_pm_genpd_suspend(9) β€” mwah, go suspend something cute πŸ’‹πŸŽ€

πŸ“¦ where this page comes from