_clkdm_add_wkdep(9)
π _clkdm_add_wkdep(9) π
okay so bestie, this is a page from the Kernel API Manual, and it's giving very specific OMAP clockdomain wakeup-dependency energy. The function is _clkdm_add_wkdep, and yes, the title says it's lockless β iykyk π
.
β¨ NAME β¨
_clkdm_add_wkdep β add a wakeup dependency from clkdm2 to clkdm1 (lockless).
π SYNOPSIS π
The whole signature, periodt:
int _clkdm_add_wkdep (struct clockdomain *clkdm1 , struct clockdomain *clkdm2 );
π ARGUMENTS π
clkdm1β wake thisstruct clockdomain *up (dependent). She's the one being woken, bestie π«Ά.clkdm2β when thisstruct clockdomain *wakes up (source). She's the wakeup source, the main character of this dependency π«.
π¦ DESCRIPTION π¦
When the clockdomain represented by clkdm2 wakes up, wake up clkdm1. Simple as that, no cap.
This feature is implemented in hardware on the OMAP, and it's designed to reduce wakeup latency of the dependent clockdomain clkdm1. Literally built to make the dependent bestie wake up faster β¨.
The returns are very much a vibe check:
-EINVALif it's presented with invalid clockdomain pointers π-ENOENTifclkdm2cannot wake upclkdm1in hardware π0upon success ππ
π SEE ALSO π
Kernel file ./arch/arm/mach-omap2/clockdomain.c, plus the whole clockdomain group chat:
_clkdm_register(9),_autodep_lookup(9),_resolve_clkdm_deps(9),_clkdm_del_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)
π that's the whole page, bestie β mwah! Sourced from ./arch/arm/mach-omap2, October 2026, _clkdm_add_wkdep(9) edition. π«Ά
π¦ 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