clkdm_register_clkdms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ clkdm_register_clkdms(9) ✨

okay so this is a page from the Kernel API Manual and it's literally all about registering your SoC's clockdomains πŸ’… buckle up bestie, it's giving OMAP energy πŸ¦‹


🌸 NAME 🌸

clkdm_register_clkdms β€” register SoC clockdomains ✨


πŸŽ€ SYNOPSIS πŸŽ€

int clkdm_register_clkdms (struct clockdomain **cs );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cs β€” a pointer to an array of struct clockdomain that you're gonna register πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

okay so the whole vibe here is: you're registering the clockdomains that are available on a particular OMAP SoC 🌈 that's the main character job of this function, no cap.

Important: you must call this after clkdm_register_platform_funcs β€” like, that's the order, periodt πŸ™ˆ and yes, it may be called multiple times, so you can totally come back for more πŸ’–

as for what it returns:

  • -EACCES if you called it before clkdm_register_platform_funcs β€” not me skipping the prerequisite 😭
  • -EINVAL if the argument cs is null β€” nullcheck bestie, it's a thing πŸ’€
  • 0 upon success β€” slay, we ate πŸŽ‰πŸ‘‘

πŸ’… SEE ALSO πŸ’…

Kernel file ./arch/arm/mach-omap2/clockdomain.c

then the whole friend group, fr fr:


that's the whole page bestie, hope it ate πŸ’–βœ¨

and for the cute sign-off: this one lives in the ./arch/arm/mach-omap2 directory, dated October 2026, from the Kernel API Manual β€” so when you cite it, that's the source, version and date, no cap πŸŽ€πŸ«ΆπŸŒ·

πŸ“¦ where this page comes from