omap2_prm_i...set_asserted(9)
π omap2_prm_is_hardreset_asserted(9) β like, the Kernel API Manual era π
okay bestie, so this one is a little function from the Kernel API Manual and it's literally just here to check a vibe β specifically, is that hardware reset line asserted or not? no cap, that's the whole gig. let's get into it β¨
β¨ NAME β¨
omap2_prm_is_hardreset_asserted β reads the HW reset line state of the submodules that live inside the hwmod module π«Ά
πΈ SYNOPSIS πΈ
int omap2_prm_is_hardreset_asserted (u8 shift , u8 part , s16 prm_mod ,
u16 offset );
π¦ ARGUMENTS π¦
shiftβ the register bit shift that points at the reset line you wanna check π like, this is the one that actually matters for finding your line.partβ the PRM partition. but bestie, it's ignored for OMAP2 π don't stress about it there.prm_modβ the PRM submodule base, e.g.CORE_MODπoffsetβ the register offset. also ignored for OMAP2 π so yeah, two of these four are just along for the ride on OMAP2.
π DESCRIPTION π
okay so real talk, this returns 1 if the (sub)module hardreset line is currently asserted, and 0 if the (sub)module hardreset line is not currently asserted. slay, simple.
but watch out β it returns -EINVAL if you call it while running on a non-OMAP2/3 chip π so like, do a vibe check on your chip first, fr fr.
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/prm2xxx_3xxx.cπ omap2_prm_assert_hardreset(9)β¨omap2_prm_deassert_hardreset(9)β¨
and that's the whole page, bestie!! π this lil icon came out of ./arch/arm/mach-omap2 and it's dated October 2026 β mwah, go check your reset lines, ily π
ππ§
π¦ 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