am33xx_prm_i...set_asserted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, bestie
  • part β€” PRM partition, ignored for AM33xx πŸ™ˆ yeah she's just there for the vibes on this one
  • inst β€” CM instance register offset (the *_INST macro) πŸ“
  • rstctrl_offs β€” RM_RSTCTRL register 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 πŸ’œ


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