am33xx_prm_assert_hardreset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 *_INST macro, 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 πŸ¦‹

(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