_clkdm_add_wkdep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– _clkdm_add_wkdep(9) πŸ’–

okay so bestie, this is a page from the Kernel API Manual, and it's giving very specific OMAP clockdomain wakeup-dependency energy. The function is _clkdm_add_wkdep, and yes, the title says it's lockless β€” iykyk πŸ’….


✨ NAME ✨

_clkdm_add_wkdep β€” add a wakeup dependency from clkdm2 to clkdm1 (lockless).


πŸ’… SYNOPSIS πŸ’…

The whole signature, periodt:

int _clkdm_add_wkdep (struct clockdomain *clkdm1 , struct clockdomain *clkdm2 );

πŸŽ€ ARGUMENTS πŸŽ€

  • clkdm1 β€” wake this struct clockdomain * up (dependent). She's the one being woken, bestie 🫢.
  • clkdm2 β€” when this struct clockdomain * wakes up (source). She's the wakeup source, the main character of this dependency πŸ’«.

πŸ¦‹ DESCRIPTION πŸ¦‹

When the clockdomain represented by clkdm2 wakes up, wake up clkdm1. Simple as that, no cap.

This feature is implemented in hardware on the OMAP, and it's designed to reduce wakeup latency of the dependent clockdomain clkdm1. Literally built to make the dependent bestie wake up faster ✨.

The returns are very much a vibe check:

  • -EINVAL if it's presented with invalid clockdomain pointers πŸ™ˆ
  • -ENOENT if clkdm2 cannot wake up clkdm1 in hardware πŸ’€
  • 0 upon success πŸŽ‰πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file ./arch/arm/mach-omap2/clockdomain.c, plus the whole clockdomain group chat:


πŸ’– that's the whole page, bestie β€” mwah! Sourced from ./arch/arm/mach-omap2, October 2026, _clkdm_add_wkdep(9) edition. 🫢

πŸ“¦ where this page comes from