clkdm_del_wkdep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clkdm_del_wkdep β€” like, the kernel API manual bestie ✨

okay so welcome to the clkdm_del_wkdep(9) page, part of the Kernel API Manual, and honestly? it's a little baddie of a function. stay with me 🫢


✨ NAME ✨

clkdm_del_wkdep β€” bestie, this one removes a wakeup dependency from clkdm2 to clkdm1. that's the whole gig. no cap. πŸ’…


🌸 SYNOPSIS 🌸

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

like, you hand it two clockdomain pointers and it returns an int. that's it. that's the vibe. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • clkdm1 β€” the dependent one, okurrr? this is the struct clockdomain * you want to wake up when the other one wakes up. she's the one being woken πŸ’–
  • clkdm2 β€” the source, iykyk. this is the struct clockdomain * whose waking-up is what triggers clkdm1 to wake. she's the main character doing the waking πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: this function removes a wakeup dependency β€” the one that was causing clkdm1 to wake up whenever clkdm2 wakes up. literally un-linking them. not me breaking up the codependency πŸ˜­πŸ’€

the return values are giving very much "here's what happened":

  • it returns -EINVAL if you show up with invalid clockdomain pointers (rude, but valid of it πŸ™ˆ)
  • it returns -ENOENT if clkdm2 cannot wake up clkdm1 in hardware β€” like, that dependency doesn't exist to delete, girl πŸ’€
  • or it returns 0 upon success. slay. periodt. 🌈
lowkey important: -EINVAL and -ENOENT are two very different moods, so check your return value. no cap. 🫢

πŸ’œ SEE ALSO πŸ’œ

okay this list is long but every single one of these is iconic in her own right, so let's go 🧚:

the kernel file ./arch/arm/mach-omap2/clockdomain.c, plus:


and that's the whole page, bestie πŸ’– this one lives under ./arch/arm/mach-omap2, it's the Kernel API Manual's October 2026 edition, and it's literally called clkdm_del_wkdep(9) β€” go off, queen πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from