clkdm_del_wkdep(9)
π clkdm_del_wkdep β like, the kernel API manual bestie β¨
okay so welcome to the clkdm_del_wkdep(9) page, part of the Kernel API Manual, and honestly? it's a little baddie of a function. stay with me π«Ά
β¨ NAME β¨
clkdm_del_wkdep β bestie, this one removes a wakeup dependency from clkdm2 to clkdm1. that's the whole gig. no cap. π
πΈ SYNOPSIS πΈ
int clkdm_del_wkdep (struct clockdomain *clkdm1 , struct clockdomain *clkdm2 );
like, you hand it two clockdomain pointers and it returns an int. that's it. that's the vibe. β¨
π ARGUMENTS π
clkdm1β the dependent one, okurrr? this is thestruct clockdomain *you want to wake up when the other one wakes up. she's the one being woken πclkdm2β the source, iykyk. this is thestruct clockdomain *whose waking-up is what triggersclkdm1to wake. she's the main character doing the waking π
π¦ DESCRIPTION π¦
so here's the tea, bestie: this function removes a wakeup dependency β the one that was causing clkdm1 to wake up whenever clkdm2 wakes up. literally un-linking them. not me breaking up the codependency ππ
the return values are giving very much "here's what happened":
- it returns
-EINVALif you show up with invalid clockdomain pointers (rude, but valid of it π) - it returns
-ENOENTifclkdm2cannot wake upclkdm1in hardware β like, that dependency doesn't exist to delete, girl π - or it returns
0upon success. slay. periodt. π
lowkey important:-EINVALand-ENOENTare two very different moods, so check your return value. no cap. π«Ά
π SEE ALSO π
okay this list is long but every single one of these is iconic in her own right, so let's go π§:
the kernel file ./arch/arm/mach-omap2/clockdomain.c, plus:
_clkdm_register(9)_autodep_lookup(9)_resolve_clkdm_deps(9)_clkdm_add_wkdep(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_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)
and that's the whole page, bestie π this one lives under ./arch/arm/mach-omap2, it's the Kernel API Manual's October 2026 edition, and it's literally called clkdm_del_wkdep(9) β go off, queen πβ¨π
π¦ 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