_clkdm_del_wkdep(9)
π _clkdm_del_wkdep(9) β the kernel API manual, bestie edition π
okay so you're in the Kernel API Manual and the page is literally called _clkdm_del_wkdep. yes the leading underscore is part of the name, we don't make the rules (we absolutely make the rules, but not this one). anyway. it removes a wakeup dependency. π₯
β¨ NAME β¨
_clkdm_del_wkdep β remove a wakeup dep from clkdm2 to clkdm1 (lockless)
like, the lockless version, okay? the lock is somebody else's problem. main character energy but respectfully. π«Ά
πΈ SYNOPSIS πΈ
int _clkdm_del_wkdep (struct clockdomain *clkdm1 , struct clockdomain
*clkdm2 );
two struct clockdomain * pointers walk into a function. this is where they get un-linked. π¦
π ARGUMENTS π
clkdm1β the dependent one, the one being woken up. literally wake thisstruct clockdomain *up. π€β‘οΈβ¨clkdm2β the source one, the one doing the waking. when thisstruct clockdomain *wakes up, that's the whole vibe trigger. β°
π DESCRIPTION π
bestie. this removes a wakeup dependency β the kind that makes clkdm1 wake up whenever clkdm2 wakes up. we are literally severing that link. no more "u up?" between these two clockdomains. π
so if clkdm2 wakes up, clkdm1 used to wake up too. now it doesn't, because you called this. slay. π
the return values, and pls memorize these because they matter:
-EINVALβ you handed it invalid clockdomain pointers. rude. π-ENOENTβclkdm2cannot wake upclkdm1in hardware. like the hardware just doesn't support that relationship, so there's nothing to remove. π0β success. we ate. π₯
π SEE ALSO π
the kernel file lives at ./arch/arm/mach-omap2/clockdomain.c and honestly the whole friend group is here:
_clkdm_register(9)_autodep_lookup(9)_resolve_clkdm_deps(9)_clkdm_add_wkdep(9)_clkdm_add_sleepdep(9)_clkdm_del_sleepdep(9)clkdm_register_platform_funcs(9)clkdm_register_clkdms(9)clkdm_register_autodeps(9)clkdm_complete_init(9)clkdm_lookup(9)clkdm_for_each(9)clkdm_get_pwrdm(9)clkdm_add_wkdep(9)clkdm_del_wkdep(9)clkdm_read_wkdep(9)clkdm_clear_all_wkdeps(9)clkdm_add_sleepdep(9)clkdm_del_sleepdep(9)clkdm_read_sleepdep(9)clkdm_clear_all_sleepdeps(9)clkdm_sleep_nolock(9)clkdm_sleep(9)clkdm_wakeup_nolock(9)clkdm_wakeup(9)clkdm_allow_idle_nolock(9)clkdm_allow_idle(9)clkdm_deny_idle_nolock(9)clkdm_deny_idle(9)clkdm_add_autodeps(9)clkdm_del_autodeps(9)clkdm_clk_enable(9)clkdm_clk_disable(9)clkdm_hwmod_enable(9)clkdm_hwmod_disable(9)_clkdm_save_context(9)_clkdm_restore_context(9)clkdm_save_context(9)clkdm_restore_context(9)
no cap, that's all of them, i counted. π§
and that's the page!! this one came from ./arch/arm/mach-omap2 and it's dated October 2026, which is so far ahead it's giving time traveler. mwah, go remove some wakeup deps responsibly bestie ππβ
π¦ 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