omap2_prm_assert_hardreset(9)
π omap2_prm_assert_hardreset(9)
okay so this one lives in the Kernel API Manual bestie, and it's literally about slamming the reset line on a submodule. let's get into it π
β¨ NAME β¨
omap2_prm_assert_hardreset β assert the HW reset line of a submodule π₯
πΈ SYNOPSIS πΈ
int omap2_prm_assert_hardreset (u8 shift , u8 part , s16 prm_mod , u16 offset );
π¦ ARGUMENTS π¦
shiftβ the register bit shift that corresponds to the reset line you wanna assert, like that's your specific line bestie πpartβ the PRM partition. lowkey ignored for OMAP2 πprm_modβ the PRM submodule base (e.g.CORE_MOD) πoffsetβ the register offset, also ignored for OMAP2 β¨
π DESCRIPTION π
so some IPs β like dsp or iva β contain processors that require a HW reset line to be asserted / deasserted in order to fully enable the IP. it's giving "you can't sit with us until you reset" energy π
these modules may have multiple hard-reset lines that reset different 'submodules' inside the IP block. the way that this function just places the submodule into reset. periodt. π«Ά
it returns 0 upon success, or -EINVAL upon an argument error π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/prm2xxx_3xxx.c omap2_prm_is_hardreset_asserted(9),omap2_prm_deassert_hardreset(9)β the rest of the reset-line squad fr fr β
and that's the whole vibe check bestie π this little icon is brought to you by ./arch/arm/mach-omap2, dated October 2026, in the Kernel API Manual β slay, go assert some resets π§ββοΈπΈ
π¦ 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