clkdm_complete_init(9)
π clkdm_complete_init β like, the kernel API manual bestie β¨
okay so we're in the Kernel API Manual today and the function we're obsessing over is clkdm_complete_init(9). she's the one who sets up the whole clockdomain layer. main character energy fr fr π
πΈ NAME πΈ
clkdm_complete_init β set up the clockdomain layer. that's it, that's the vibe π
β¨ SYNOPSIS β¨
int clkdm_complete_init (void );
π¦ ARGUMENTS π¦
voidβ no arguments, bestie. absolutely none. she takes nothing and she gives everything π«Ά
π DESCRIPTION π
okay so what she does: she puts all the clockdomains into software-supervised mode. all of them. the whole squad. π
then later, the PM code is supposed to come through and enable hardware-supervised mode</> as appropriate β that part is not her job, she just sets the stage. no cap.
β οΈ important: you must call her after clkdm_register_clkdms. like, she will literally not work otherwise. order matters, iykyk.
and about the return value, since you're gonna ask:
- returns
-EACCESif you called her beforeclkdm_register_clkdmsπ (rude of you, honestly) - returns
0upon success π slay
π₯ SEE ALSO π₯
all the siblings and cousins, live from the kernel file ./arch/arm/mach-omap2/clockdomain.c:
_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_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)
like. the whole friend group. go say hi ππ
and that's the page!! this masterpiece lives in ./arch/arm/mach-omap2, dated October 2026, from the Kernel API Manual, and it's called clkdm_complete_init(9) β go forth and init those clockdomains, bestie ππβ¨
π¦ 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