am33xx_prm_assert_hardreset(9)
π
am33xx_prm_assert_hardreset β like, the actual Kernel API Manual β¨
okay so bestie, welcome to the glow-up of a kernel function that lives way down in the omap2 vibe trenches. This is the page for am33xx_prm_assert_hardreset from the Kernel API Manual, and yes she's niche, yes she's iconic, and yes we're getting into it π
πΈ NAME πΈ
am33xx_prm_assert_hardreset β assert the HW reset line of a submodule
like literally. that's her whole job. one line of purpose, no notes π
β¨ SYNOPSIS β¨
int am33xx_prm_assert_hardreset (u8 shift , u8 part , s16 inst , u16
rstctrl_offs );
she takes four args and returns an int, that's the whole shape of it π¦
π«Ά ARGUMENTS π«Ά
shiftβ the register bit shift that corresponds to the reset line you want to assert. it's giving "which exact bit are we poking" energy π₯partβ CM partition. for AM33xx this is ignored, so likeβ¦ she's there but she's not really there, yk? πinstβ CM instance register offset (that's the*_INSTmacro, iykyk)rstctrl_offsβ-- undescribed --β¦ yeah. the manual itself just says-- undescribed --and honestly? relatable. keeping it mysterious π no cap, that's all the original gives us, so I'm not gonna invent lore for her.
π DESCRIPTION π
so some IPs β think dsp, ipu or iva β contain processors that require a HW reset line to be asserted / deasserted in order to fully enable the IP. like they literally won't wake up properly without it, main character energy π
these modules may have multiple hard-reset lines that reset different 'submodules' inside the IP block. so you're not just flipping one big switch, you're picking which little diva inside the block gets reset π
This function will place the submodule into reset. that's the whole gig. that's what she does π§
Returns 0 upon success or -EINVAL upon an argument error β so like, if you fed her nonsense, she's gonna tell you with -EINVAL, periodt π
π¦ SEE ALSO π¦
- Kernel file
./arch/arm/mach-omap2/prm33xx.c am33xx_prm_is_hardreset_asserted(9)am33xx_prm_deassert_hardreset(9)
(the asserted one checks her vibe, the deassert one un-does the reset. dream team fr fr π«Ά)
and that's the whole page, bestie β this little love letter came straight from ./arch/arm/mach-omap2, dated October 2026, and yes the header up top is still am33xx_prm_assert_hardreset(9) because we respect her full government name π bye, go assert some resets responsibly πΈ
π¦ 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