clkdm_sleep_nolock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ clkdm_sleep_nolock πŸ’€

okay so you're in the market for clkdm_sleep_nolock(9), the lockless flavour of "pls go to sleep" for a clockdomain β€” and bestie, you came to the right page πŸŽ€ this is the Kernel API Manual entry, so let's get into it ✨


🌸 NAME 🌸

clkdm_sleep_nolock β€” force clockdomain sleep transition (lockless) πŸ˜΄πŸ’…


✨ SYNOPSIS ✨

int clkdm_sleep_nolock (struct clockdomain *clkdm );

one function, one arg, one int coming back at you. slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • clkdm β€” struct clockdomain * β€” the clockdomain in question, your main character basically πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So what this does: it instructs the CM to force a sleep transition on the specified clockdomain clkdm. like, "CM bestie… put it to bed. now." πŸ”₯

warning warning 🚨 this one is only for use by the powerdomain code. it's giving "internal API, don't @ me" β€” so if you're not the powerdomain code, respectfully, this isn't for you πŸ™ˆ

And the returns, because we always read the returns:

  • -EINVAL if clkdm is NULL, or if the clockdomain does not support software-initiated sleep 😭
  • 0 upon success ✨ (we love a zero)

no cap, that's the whole vibe check.


🧚 SEE ALSO 🧚

the whole friend group, aka Kernel file ./arch/arm/mach-omap2/clockdomain.c and everyone who lives there πŸ’œ:


that's the page, periodt πŸ’… this lil entry comes to you from ./arch/arm/mach-omap2 and it's dated October 2026 β€” go off, calendar icon πŸ‘‘βœ¨ bye bestie, may all your clockdomains sleep soundly πŸ«ΆπŸŒ™

πŸ“¦ where this page comes from