pwrdm_add_clkdm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pwrdm_add_clkdm β€” add a clockdomain to a powerdomain

Okay bestie, this is the pwrdm_add_clkdm(9) page from the Kernel API Manual β€” and it's giving β€œsmall function, big powerdomain energy” ✨

✨ SYNOPSIS ✨

int pwrdm_add_clkdm (struct powerdomain *pwrdm , struct clockdomain
*clkdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” the struct powerdomain * you're adding the clockdomain to πŸ’–
  • clkdm β€” the struct clockdomain * to associate with a powerdomain 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Associate the clockdomain clkdm with a powerdomain pwrdm. This enables the use of pwrdm_for_each_clkdm. That's the whole point, periodt πŸ’…

Return vibes are very specific, no cap: returns -EINVAL if presented with invalid pointers; -ENOMEM if memory could not be allocated; or 0 upon success πŸ˜­βœ…

🌸 SEE ALSO 🌸

Kernel file ./arch/arm/mach-omap2/powerdomain.c is the home base 🏑 and the whole SEE ALSO squad is:

Source/version: ./arch/arm/mach-omap2 β€” dated October 2026. Byeee, bestie, go associate those clockdomains responsibly πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from