am33xx_prm_i...set_asserted(9)
π am33xx_prm_is_hardreset_asserted β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for am33xx_prm_is_hardreset_asserted, and no cap, it's literally just a vibe check for a reset line πΈ
π¦ NAME π¦
am33xx_prm_is_hardreset_asserted β read the HW reset line state of submodules contained in the hwmod module π
like, is the reset line up right now or not? that's the whole gig β¨
π§ SYNOPSIS π§
int am33xx_prm_is_hardreset_asserted (u8 shift , u8 part , s16 inst ,
u16 rstctrl_offs );
it's giving "small function, big feelings" π and yes, it returns an int, as it should π
π ARGUMENTS π
shiftβ the register bit shift corresponding to the reset line to check π like, which bit are we peeking at, bestiepartβ PRM partition, ignored for AM33xx π yeah she's just there for the vibes on this oneinstβ CM instance register offset (the*_INSTmacro) πrstctrl_offsβRM_RSTCTRLregister address offset for this module π―
ngl, part is the friend who shows up to the group chat and contributes nothing. iconic behavior, but the AM33xx literally does not use it π
π DESCRIPTION π
okay so here's the tea β this returns:
1β if the (sub)module hardreset line is currently asserted π₯ (yes bestie, reset is ON)0β if the (sub)module hardreset line is not currently asserted πΈ (nah, it's off)-EINVALβ upon parameter error π like if you handed it something cursed
that's it, that's the whole plot. main character energy, minimal screen time π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/prm33xx.cπ am33xx_prm_assert_hardreset(9)β the "turn it on" bestie π«Άam33xx_prm_deassert_hardreset(9)β the "turn it off" bestie π«Ά
kisses bestie, this page is brought to you by the lovely humans over in ./arch/arm/mach-omap2, dated October 2026 π
π β go read prm33xx.c if you want the lore, mwah πβ¨
π¦ 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