omap2xxx_cm...module_ready(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap2xxx_cm...module_ready(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this one's a little function from the OMAP2 clock-management corner of the kernel, and she is literally just sitting there waiting for a module to wake up. relatable tbh 😭


🌸 NAME 🌸

omap2xxx_cm_wait_module_ready β€” she waits for a module to leave idle or standby 🫢


✨ SYNOPSIS ✨

int omap2xxx_cm_wait_module_ready (u8 part , s16 prcm_mod , u16
       idlest_id , u8 idlest_shift );

like yes, four args, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • part β€” the PRCM partition, but bestie... she's ignored for OMAP2 πŸ™ˆ like ok work
  • prcm_mod β€” the PRCM module offset, v important ✨
  • idlest_id β€” the CM_IDLESTx register ID (so, x = 1, 2, 3) πŸ’–
  • idlest_shift β€” the shift of the bit in the CM_IDLEST* register you're checking πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole vibe here is: wait for the PRCM to indicate that the module identified by (prcm_mod, idlest_id, idlest_shift) is clocked ✨ that's it, that's the mission.

she returns 0 upon success 🌈 β€” or -EBUSY if the module doesn't enable in time πŸ’€ (yes, she will absolutely give up on you, respectfully).

lowkey a mood: if the module doesn't show up on time, it's -EBUSY and we move on periodt.

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ the cute sign-off πŸ’œ

this icon lived in ./arch/arm/mach-omap2, dated October 2026 β€” that's the source/version + date bit, and honestly? iconic of her πŸ’…βœ¨ see u bestie 🫢

πŸ“¦ where this page comes from