STRUCT CLKDM_DEP(9)
π struct clkdm_dep(9) β Kernel API Manual, bestie edition π
okay so like, welcome to the Kernel API Manual β¨ and today's main character is struct clkdm_dep β the little guy who encodes dependencies between clockdomains. no cap, he's just out here keeping track of who wakes up and who stays sleepy π΄
πΈ NAME πΈ
struct clkdm_dep β encodes dependencies between clockdomains π«Ά
β¨ SYNOPSIS β¨
struct clkdm_dep {
const char *clkdm_name;
struct clockdomain *clkdm;
s16 wkdep_usecount;
s16 sleepdep_usecount;
};
π Members π
clkdm_nameβ the clockdomain's name, literally just its name πclkdmβ a pointer to thestruct clockdomainofclkdm_nameβ like, the actual domain object that that name points at πwkdep_usecountβ the number of wakeup dependencies causing this clkdm to wake βοΈ (she's up, she's awake, she's booked and busy)sleepdep_usecountβ the number of sleep deps that could preventclkdmfrom idling π€ (not her catching a nap, we simply cannot allow it)
π¦ DESCRIPTION π¦
Statically defined, periodt. β¨ The clkdm gets resolved from clkdm_name at runtime, so do not pre-initialize it β like, do not touch it, do not look at it, do not come for it π
XXX Should also include hardware (fixed) dependencies. yeah. she knows. she's aware. it's a whole thing π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/clockdomain.h struct clkdm_autodep(9)struct clockdomain(9)struct clkdm_ops(9)
go read those too bestie, iykyk π§π
later babes β this page came out of ./arch/arm/mach-omap2, dated October 2026, and it's been struct clkdm_dep(9) the whole time π mwah π
π¦ 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