clkdm_wakeup_nolock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clkdm_wakeup_nolock(9) β€” a Kernel API Manual moment

okay so bestie, welcome to section 9 of the Kernel API Manual, where we're talking about clkdm_wakeup_nolock β€” yes that whole name, say it with your chest ✨


🌸 NAME 🌸

clkdm_wakeup_nolock β€” force clockdomain wakeup transition (lockless)


πŸŽ€ SYNOPSIS πŸŽ€

int clkdm_wakeup_nolock (struct clockdomain *clkdm );

πŸ’– ARGUMENTS πŸ’–

  • clkdm β€” a struct clockdomain *. that's the one, the whole vibe, the clockdomain we're about to wake up πŸ”₯

✨ DESCRIPTION ✨

okay so here's the tea πŸ«– β€” this function tells the CM to force a wakeup transition on the clockdomain you passed in as clkdm. like, go go go, wake up bestie πŸ’…

big caveat tho, and I mean it: this is only for use by the powerdomain code. not you, not your driver, not your little side quest. the powerdomain code. periodt.

what does it return? glad you asked:

  • -EINVAL if clkdm is NULL, or if the clockdomain doesn't support software-controlled wakeup 😭
  • 0 upon success πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

all the siblings in the Kernel file ./arch/arm/mach-omap2/clockdomain.c, no cap:

_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(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)


ngl, the _nolock in the name is doing main character energy β€” just know it's lockless and the powerdomain code is the only one invited to this party πŸ™ˆ

and that's the whole page, bestie πŸ“ sign-off time: this one lives in ./arch/arm/mach-omap2, dated October 2026, and it's literally called clkdm_wakeup_nolock(9) πŸ’œ mwah πŸ’‹

πŸ“¦ where this page comes from