clkdm_del_sleepdep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– clkdm_del_sleepdep(9) πŸ’–

okay so welcome to the Kernel API Manual, section 9, bestie 🫢 β€” this is the page for clkdm_del_sleepdep(9), and it's giving "let clkdm1 stop being clingy to clkdm2" energy. no cap, it's a tiny function with big boundary-setting vibes πŸ’…βœ¨


🌸 NAME 🌸

clkdm_del_sleepdep β€” remove a sleep dependency from clkdm2 to clkdm1. that's the whole flex, periodt πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸŽ€ ARGUMENTS πŸŽ€

  • clkdm1 β€” prevent this struct clockdomain * from sleeping (dependent). think "the one we're protecting from accidental naptime" 😴
  • clkdm2 β€” when this struct clockdomain * is active (source). think "the one whose activity status we're checking" πŸ‘€

πŸ‘‘ DESCRIPTION πŸ‘‘

okay bestie, here's the tea: this allows clkdm1 to automatically go inactive (and then to retention or off), independent of the activity state of clkdm2. literally independent. main character energy for clkdm1 πŸ‘‘βœ¨

and because error codes are the receipts, it returns:

  • -EINVAL β€” if it's presented with invalid clockdomain pointers, or called on a machine that does not support software-configurable hardware sleep dependencies πŸ’€
  • -ENOENT β€” if the specified dependency cannot be cleared in hardware 😭
  • 0 β€” upon success, slay πŸŽ‰

🌈 SEE ALSO 🌈

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

the whole crew, iykyk:


mwah πŸ’‹ β€” this page came from ./arch/arm/mach-omap2, dated October 2026, and it's filed under clkdm_del_sleepdep(9). that's the source/version/date receipts, bestie. slay and goodbye πŸ’–

πŸ“¦ where this page comes from