devm_pm_runt...get_noresume(9)
π NAME π
devm_pm_runtime_get_noresume β the devres-enabled version of pm_runtime_get_noresume. bestie it's literally the same vibe but ~managed~ for you β¨
So real talk, this page lives in the Kernel API Manual (that's the manual name, keep it in your notes π), and it's all about one little function that bumps your device's runtime PM usage counter without letting it resume. no cap.
β¨ SYNOPSIS β¨
int devm_pm_runtime_get_noresume (struct device *dev );
it returns an int, it takes one struct device *, and yes the spacing is giving "I typed this at 3am" but we keep it exactly as-is π«Ά
π ARGUMENTS π
devβ the Device to handle. that's it. that's the whole argument. she's low maintenance π
π¦ SEE ALSO π¦
okay so there is a LOT of family here, and you're gonna meet all of them, no skipping π
Kernel file ./drivers/base/power/runtime.cβ the actual file, for when you wanna read the source like the main character you are π
and the whole runtime-PM friend group:
update_pm_runtime_accounting(9)pm_runtime_deactivate_timer(9)pm_runtime_cancel_pending(9)rpm_check_suspend_allowed(9)pm_runtime_release_supplier(9)__rpm_callback(9)rpm_callback(9)rpm_idle(9)rpm_suspend(9)rpm_resume(9)pm_runtime_work(9)pm_suspend_timer_fn(9)pm_schedule_suspend(9)__pm_runtime_idle(9)__pm_runtime_suspend(9)__pm_runtime_resume(9)pm_runtime_get_conditional(9)pm_runtime_get_if_active(9)pm_runtime_get_if_in_use(9)__pm_runtime_set_status(9)__pm_runtime_barrier(9)pm_runtime_barrier(9)pm_runtime_enable(9)devm_pm_runtime_set_active_enabled(9)devm_pm_runtime_enable(9)pm_runtime_forbid(9)pm_runtime_allow(9)pm_runtime_no_callbacks(9)pm_runtime_irq_safe(9)update_autosuspend(9)pm_runtime_set_autosuspend_delay(9)__pm_runtime_use_autosuspend(9)pm_runtime_init(9)pm_runtime_reinit(9)pm_runtime_remove(9)pm_runtime_get_suppliers(9)pm_runtime_put_suppliers(9)pm_runtime_drop_link(9)pm_runtime_force_suspend(9)pm_runtime_force_resume(9)
like, that's the whole group chat. read them all. iykyk π
ngl there's genuinely nothing else on this page β no options, no env vars, no exit statuses, no bug notes. she's a short queen and we respect it π
βΏ and that's the whole page, bestie βΏ sourced from ./drivers/base/power, dated October 2026, and yes the title is devm_pm_runt...get_noresume(9) β abbreviated like that on purpose, don't @ me ππ mwah, go bump those counters 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