omap3xxx_cm...module_ready(9)
π omap3xxx_cm_wait_module_ready(9) β from the Kernel API Manual, bestie π«Ά
okay so this is omap3xxx_cm_wait_module_ready, and it's lowkey serving "wait for the PRCM to tell us the module is clocked" energy β¨ no cap.
β¨ NAME β¨
omap3xxx_cm_wait_module_ready β literally just: wait for a module to leave idle or standby π€β‘οΈπ₯
π SYNOPSIS π
int omap3xxx_cm_wait_module_ready (u8 part , s16 prcm_mod , u16 idlest_id , u8 idlest_shift );
like, that's the whole vibe check. four args, one int coming back at you π
πΈ ARGUMENTS πΈ
partβ the PRCM partition. and bestieβ¦ it's ignored for OMAP3 π so yeah, it's there, it's cute, it does nothing on this chip. iconic honestly.prcm_modβ the PRCM module offset. this one actually matters fr fr.idlest_idβ theCM_IDLESTxregister ID, so like x =1,2,3πidlest_shiftβ the shift of the bit inside thatCM_IDLEST*register that you're checking. like, which bit are we side-eyeing π
π¦ DESCRIPTION π¦
so basically β¨ you 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 whole function. it just sits there and waits for the PRCM to say "okay she's clocked" π
it returns 0 upon success π or -EBUSY if the module doesn't enable in time π (yeah, the classic "didn't make it in time" moment β no notes, just pain).
β οΈ heads up:-EBUSYis a real return value here, not a vibe. if the module doesn't enable in time, you get-EBUSY. don't @ me, that's just what the page says π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/cm3xxx.cβ like, go read the source bestie π§ omap3xxx_cm_split_idlest_reg(9)β the sibling function, same universe, different quest β
and that's the tea β β this little gem lives under ./arch/arm/mach-omap2, dated October 2026, from the Kernel API Manual, and it's giving main character energy all the way to the footer π iykyk π¦
π¦ 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