omap2xxx_cm...module_ready(9)
π 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 workprcm_modβ the PRCM module offset, v important β¨idlest_idβ theCM_IDLESTxregister ID (so, x = 1, 2, 3) πidlest_shiftβ the shift of the bit in theCM_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 π
- Kernel file
./arch/arm/mach-omap2/cm2xxx.cπ omap2xxx_cm_split_idlest_reg(9)π§
π 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
- 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