clkdm_allow_idle_nolock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hiii bestie πŸ’– welcome to the Kernel API Manual page for clkdm_allow_idle_nolock(9) β€” section 9, we’re fancy like that ✨

πŸ’– NAME πŸ’–

clkdm_allow_idle_nolock β€” enable hwsup idle transitions for clkdm πŸ‘‘

✨ SYNOPSIS ✨

void clkdm_allow_idle_nolock (struct clockdomain *clkdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • clkdm β€” this one is a struct clockdomain *. Yep, that’s the clockdomain you’re handing over 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function lets the hardware automatically switch the clockdomain clkdm into active or idle states, as needed by downstream clocks. Literally the hardware is allowed to do its little power dance when it needs to πŸ’…

If the clockdomain has any downstream clocks enabled in the clock framework, wkdep/sleepdep autodependencies are added. Why? So device drivers can read and write to the device β€” that’s the whole reason, no cap.

Heads up, bestie: this is only for use by the powerdomain code πŸ”₯ Don’t go using it just anywhere.

No return value. Like, none. It’s a void, periodt 😌

🌈 SEE ALSO 🌈

Kernel file ./arch/arm/mach-omap2/clockdomain.c β€” plus the whole reference squad: _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_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(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) 🌟


Source/version: ./arch/arm/mach-omap2 β€” dated October 2026 β€” page clkdm_allow_idle_nolock(9). Bye bestie, go let that clockdomain idle in peace πŸ§šπŸ’œ

πŸ“¦ where this page comes from