am33xx_cm_wait_module_idle(9)
π 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*_INSTmacro, iykyk)clkctrl_offsβ the Module clock control register offset (the*_CLKCTRLmacro, 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 π):
_clkctrl_idlest(9)_is_module_ready(9)_clktrctrl_write(9)am33xx_cm_is_clkdm_in_hwsup(9)am33xx_cm_clkdm_enable_hwsup(9)am33xx_cm_clkdm_disable_hwsup(9)am33xx_cm_clkdm_force_sleep(9)am33xx_cm_clkdm_force_wakeup(9)am33xx_cm_wait_module_ready(9)am33xx_cm_module_enable(9)am33xx_cm_module_disable(9)am33xx_clkdm_save_context(9)am33xx_clkdm_restore_context(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms