dpm_watchdog_set(9)
π dpm_watchdog_set(9) β like, the Kernel API Manual page, bestie
okay so this is dpm_watchdog_set(9) from the Kernel API Manual, and it's genuinely such a mood. it's a tiny little function that does one job and does it cute. let's get into it π
β¨ NAME β¨
dpm_watchdog_set β enable the pm watchdog for a given device. that's it. that's the whole personality. she turns it on and she leaves π
π¦ SYNOPSIS π¦
void dpm_watchdog_set (struct dpm_watchdog *wd , struct device *dev );
so she takes two things and returns literally nothing (void, no cap, she's not giving you a return value). the way that she just does the thing and dips π
πΈ ARGUMENTS πΈ
wdβ the watchdog itself, astruct dpm_watchdog *. and bestie, listen to me: it must be allocated on the stack. that's not a suggestion, that's the vibe check. stack only. do not be weird about it πdevβ the device to handle. that's the one getting watched. main character device energy fr fr π
π«Ά SEE ALSO π«Ά
okay this list is LONG, like she knows everyone, and you're gonna read every single name because that's the rule π
pm_hibernate_is_recovering(9)device_pm_sleep_init(9)device_pm_lock(9)device_pm_unlock(9)device_pm_add(9)device_pm_remove(9)device_pm_move_before(9)device_pm_move_after(9)device_pm_move_last(9)dpm_wait(9)pm_op(9)pm_late_early_op(9)pm_noirq_op(9)dpm_watchdog_handler(9)dpm_watchdog_clear(9)dev_pm_skip_resume(9)device_resume_noirq(9)dpm_resume_noirq(9)device_resume_early(9)dpm_resume_early(9)dpm_resume_start(9)device_resume(9)dpm_resume(9)device_complete(9)dpm_complete(9)dpm_resume_end(9)resume_event(9)device_suspend_noirq(9)dpm_suspend_noirq(9)device_suspend_late(9)dpm_suspend_late(9)dpm_suspend_end(9)legacy_suspend(9)device_suspend(9)dpm_suspend(9)device_prepare(9)dpm_prepare(9)dpm_suspend_start(9)device_pm_wait_for_dev(9)dpm_for_each_dev(9)
and the kernel file where the whole saga lives is ./drivers/base/power/main.c β that's the address, iykyk π
and that's the page, bestie!! π this iconic little entry is brought to you by ./drivers/base/power (source/version, mwah π) and it's dated October 2026 β mark your calendars, she's timeless and also from the future, slay β¨π
π¦ 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