dev_pm_genpd_resume(9)
π dev_pm_genpd_resume β the dev_pm_genpd_resume(9) glow-up guide π
Okay bestie, buckle up, because this is the kernel API manual page for dev_pm_genpd_resume(9) and honestly? she's short but she's important. Let's get into it. β¨
πΈ NAME πΈ
dev_pm_genpd_resume β synchronously try to resume the genpd for @dev. That's it, that's the whole name, and yes, the "synchronously" is doing a lot of heavy lifting there, iykyk. π
π¦ SYNOPSIS π¦
void dev_pm_genpd_resume (struct device *dev );
Look at her. Returns void. Doesn't even hand you an error code back. Iconic, lowkey terrifying. π«Ά
π ARGUMENTS π
devβ the device that's attached to the genpd, the one that needs to be resumed. That's your main character right there. π
β DESCRIPTION β
So here's the tea: this routine should typically be called for a device that needs to be resumed during the syscore resume phase. Like, that's her whole moment to shine. β¨
She may also be called during suspend-to-idle, to resume a corresponding CPU device that's attached to a genpd. So yes, there are two vibes she shows up for. Versatile queen. π
ngl, the word "synchronously" in the NAME is not a suggestion β this thing does the resume right then and there, no queuing, no "I'll get to it later". Plan accordingly bestie π
π SEE ALSO π
Where do we even start. The whole genpd friend group is here, and they all ate:
Kernel file ./drivers/pmdomain/core.cβ the source file, the mothership, the address πdev_pm_genpd_set_performance_state(9)dev_pm_genpd_set_next_wakeup(9)dev_pm_genpd_get_next_hrtimer(9)dev_pm_genpd_set_hwmode(9)dev_pm_genpd_get_hwmode(9)dev_pm_genpd_rpm_always_on(9)dev_pm_genpd_is_on(9)pm_genpd_inc_rejected(9)genpd_queue_power_off_work(9)genpd_power_off(9)genpd_power_on(9)genpd_power_off_work_fn(9)__genpd_runtime_suspend(9)__genpd_runtime_resume(9)genpd_runtime_suspend(9)genpd_runtime_resume(9)genpd_power_off_unused(9)genpd_sync_power_off(9)genpd_sync_power_on(9)genpd_prepare(9)genpd_finish_suspend(9)genpd_suspend_noirq(9)genpd_finish_resume(9)genpd_resume_noirq(9)genpd_freeze_noirq(9)genpd_thaw_noirq(9)genpd_poweroff_noirq(9)genpd_restore_noirq(9)genpd_complete(9)dev_pm_genpd_suspend(9)β the sister page, obviously π«Άpm_genpd_add_device(9)pm_genpd_remove_device(9)dev_pm_genpd_add_notifier(9)dev_pm_genpd_remove_notifier(9)pm_genpd_add_subdomain(9)pm_genpd_remove_subdomain(9)pm_genpd_init(9)pm_genpd_remove(9)struct of_genpd_provider(9)genpd_xlate_simple(9)genpd_xlate_onecell(9)genpd_add_provider(9)of_genpd_add_provider_simple(9)of_genpd_add_provider_onecell(9)of_genpd_del_provider(9)genpd_get_from_provider(9)of_genpd_add_child_ids(9)of_genpd_remove_child_ids(9)of_genpd_add_device(9)of_genpd_add_subdomain(9)of_genpd_remove_subdomain(9)of_genpd_remove_last(9)genpd_dev_pm_detach(9)genpd_dev_pm_attach(9)genpd_dev_pm_attach_by_id(9)genpd_dev_pm_attach_by_name(9)of_genpd_parse_idle_states(9)of_genpd_sync_state(9)
Yeah. Fifty-eight of them. She knows everyone. π§
That's the whole page bestie β short, sweet, and synchronous. Go forth and resume responsibly. π
Source dir: ./drivers/pmdomain Β· Dated: October 2026 Β· mwah, xoxo, see you in the next manpage π
β¨π
π¦ 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