am33xx_cm_wait_module_idle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… am33xx_cm_wait_module_idle(9) πŸ’…

okay bestie, so this is a page from the Kernel API Manual and it's about am33xx_cm_wait_module_idle β€” literally the function that just waits for a module to chill out into its 'disabled' state. she's patient, she's a little bit of a vibes-watcher, and honestly? iconic. πŸŽ€


✨ NAME ✨

am33xx_cm_wait_module_idle β€” wait for a module to be in 'disabled' state πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

int am33xx_cm_wait_module_idle (u8 part , s16 inst , u16 clkctrl_offs ,
u8 bit_shift );

that's the whole signature, bestie β€” no cap, that's it ✨


🌸 ARGUMENTS 🌸

  • part β€” the CM partition. for AM33xx it's literally ignored, so don't stress about it πŸ™ˆ
  • inst β€” the CM instance register offset (that's the *_INST macro, iykyk)
  • clkctrl_offs β€” the Module clock control register offset (the *_CLKCTRL macro, periodt)
  • bit_shift β€” the bit shift for the register. also ignored for AM33xx, so yeah, she's just there for the vibes πŸ’…

πŸ’– DESCRIPTION πŸ’–

so what she actually does: wait for the module IDLEST to be disabled. some PRCM transitions β€” think reset assertion, or parent clock de-activation β€” literally have to wait for the module to be fully disabled before they can do their thing. so this function is the one standing at the door like "not yet bestie, she's not fully asleep" 😭🫢

it's giving "holding the elevator door". the transition can't happen until the module is fully disabled. no shortcuts, fr fr.

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./arch/arm/mach-omap2/cm33xx.c and these are her neighbors in the source (all the related crew, linked below, go say hi πŸ‘‘):


and that's the whole page, bestie 🌈 this one came out of ./arch/arm/mach-omap2, dated October 2026, and it's the am33xx_cm_wait_module_idle(9) manual entry πŸ’œ go take a nap like the module does, you earned it β­πŸ¦‹

πŸ“¦ where this page comes from