_clkdm_del_sleepdep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _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:

  • -EINVAL if 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
  • -ENOENT if the dependency you specified cannot be cleared in hardware πŸ’€
  • 0 upon 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