clkdm_del_sleepdep(9)
π clkdm_del_sleepdep(9) π
okay so welcome to the Kernel API Manual, section 9, bestie π«Ά β this is the page for clkdm_del_sleepdep(9), and it's giving "let clkdm1 stop being clingy to clkdm2" energy. no cap, it's a tiny function with big boundary-setting vibes π
β¨
πΈ NAME πΈ
clkdm_del_sleepdep β remove a sleep dependency from clkdm2 to clkdm1. that's the whole flex, periodt π
π¦ SYNOPSIS π¦
int clkdm_del_sleepdep (struct clockdomain *clkdm1 , struct clockdomain
*clkdm2 );
π ARGUMENTS π
clkdm1β prevent thisstruct clockdomain *from sleeping (dependent). think "the one we're protecting from accidental naptime" π΄clkdm2β when thisstruct clockdomain *is active (source). think "the one whose activity status we're checking" π
π DESCRIPTION π
okay bestie, here's the tea: this allows clkdm1 to automatically go inactive (and then to retention or off), independent of the activity state of clkdm2. literally independent. main character energy for clkdm1 πβ¨
and because error codes are the receipts, it returns:
-EINVALβ if it's presented with invalid clockdomain pointers, or called on a machine that does not support software-configurable hardware sleep dependencies π-ENOENTβ if the specified dependency cannot be cleared in hardware π0β upon success, slay π
π SEE ALSO π
Kernel file: ./arch/arm/mach-omap2/clockdomain.c.
the whole crew, iykyk:
_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_del_wkdep(9)clkdm_read_wkdep(9)clkdm_clear_all_wkdeps(9)clkdm_add_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)
mwah π β this page came from ./arch/arm/mach-omap2, dated October 2026, and it's filed under clkdm_del_sleepdep(9). that's the source/version/date receipts, bestie. slay and goodbye π
π¦ 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