_clkdm_del_sleepdep(9)
π _clkdm_del_sleepdep(9) β Kernel API Manual β¨
okay so bestie, welcome to the kernel API manual for _clkdm_del_sleepdep. yes it's a (9) page, yes it's nobody's main character, but it's our main character today π«Ά
πΈ NAME πΈ
_clkdm_del_sleepdep β remove a sleep dep from clkdm2 to clkdm1 (lockless) π«
π SYNOPSIS π
int _clkdm_del_sleepdep (struct clockdomain *clkdm1 , struct clockdomain
*clkdm2 );
β ARGUMENTS β
clkdm1β the dependent one, the *struct clockdomain ** you're literally un-blocking from sleeping. free her π¦clkdm2β the source, the *struct clockdomain ** that has to be active for the dependency to even exist in the first place π
π DESCRIPTION π
the whole vibe: you're letting clkdm1 auto-go-inactive β and then after that, on to retention or off β independent of whatever clkdm2's activity state is doing. no more looking at clkdm2 for permission, she's free β¨
returns, and this part matters so read it twice:
-EINVALif you hand it invalid clockdomain pointers, or if you call it on a machine that doesn't support software-configurable hardware sleep dependencies π no cap, that machine just can't do the thing-ENOENTif the dependency you specified cannot be cleared in hardware π0upon success β slay, icon behavior π
π₯ SEE ALSO π₯
kernel file ./arch/arm/mach-omap2/clockdomain.c, plus the whole friend group π:
_clkdm_register(9), _autodep_lookup(9), _resolve_clkdm_deps(9), _clkdm_add_wkdep(9), _clkdm_del_wkdep(9), _clkdm_add_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)
and that's the whole page, bestie!! this one ships from ./arch/arm/mach-omap2, dated October 2026, and it is literally called _clkdm_del_sleepdep(9) β go forth and dependency-delete 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