prm_clear_co...ss_flags_old(9)
β¨ prm_clear_co...ss_flags_old(9) β Kernel API Manual β¨
okay so bestie, welcome to the prm_clear_co...ss_flags_old(9) page π
yes that's the manual name, yes it's a mouthful, no we're not abbreviating it, and yes it's the Kernel API Manual section 9. buckle up π
πΈ NAME πΈ
prm_clear_context_loss_flags_old β clears the context loss flags, but likeβ¦ the old API version π«Ά
π¦ SYNOPSIS π¦
void prm_clear_context_loss_flags_old (u8 part , s16 inst , u16 idx );
that's it. that's the whole vibe check. she takes three args and gives you nothing back, which honestly is main character energy π₯
β¨ ARGUMENTS β¨
partβ the PRM partition ID. like, for exampleOMAP4430_PRM_PARTITION. it's au8btw, keep that in mind πinstβ the PRM instance offset, e.g.OMAP4430_PRM_MPU_INST. this one's ans16πidxβ the CONTEXT register offset.u16, no cap π
three little values, one big job. iykyk π
π DESCRIPTION π
so what does she actually do?? she clears the hardware context loss bits for whichever module you point at with (part, inst, idx) β that trio is literally the module's whole identity, it's giving "name, rank, and serial number" π
No return value. none. zero. void. she does the thing and she leaves, iconic behavior fr fr π
XXX β β οΈ Deprecated!! β οΈ bestie listen to me. callers need to use a less-SoC-dependent way to identify hardware IP blocks. this one's on the way out, do not build your whole personality on it π
π SEE ALSO π
Kernel file: ./arch/arm/mach-omap2/prm_common.c π
and then the whole friend group, all together now π«Ά:
omap_prcm_event_to_irq(9)omap_prcm_irq_cleanup(9)omap_prcm_register_chain_handler(9)prm_was_any_context_lost_old(9)omap_prm_assert_hardreset(9)omap_prm_deassert_hardreset(9)omap_prm_is_hardreset_asserted(9)omap_prm_reset_system(9)omap_prm_clear_mod_irqs(9)omap_prm_vp_check_txdone(9)omap_prm_vp_clear_txdone(9)prm_register(9)prm_unregister(9)omap2_prm_base_init(9)omap_prcm_init(9)
sign-off time bestie π§ this little diva lives over in ./arch/arm/mach-omap2, she got stamped October 2026, and her full government name is prm_clear_co...ss_flags_old(9). go clear those context loss bits, slay, and remember: deprecated but never forgotten ππΈβ¨
π¦ 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