omap4_prmins...rt_hardreset(9)
π omap4_prmins...rt_hardreset(9)
okay bestie so this is from the Kernel API Manual (yes, the truncated-looking name in the header is literally how it ships β omap4_prmins...rt_hardreset(9), the ellipsis is the kernel docs being extra, not me π). Anyway. It does one job and it does it slayfully. Let's go π«Ά
β¨ NAME β¨
omap4_prminst_assert_hardreset β assert the HW reset line of a submodule π₯
β¨ SYNOPSIS β¨
int omap4_prminst_assert_hardreset (u8 shift , u8 part , s16 inst , u16
rstctrl_offs );
like, it takes four args and gives you back an int. that's the whole vibe β¨
πΈ ARGUMENTS πΈ
shiftβ register bit shift corresponding to the reset line you're asserting. this is the one arg the manpage actually bothered to describe πpartβ-- undescribed --π the docs literally say nothing. ngl, iconic of them.instβ-- undescribed --π also a mystery. the manpage is gatekeeping.rstctrl_offsβ-- undescribed --π again: no description. not me defending this, i'm just the messenger fr fr.
lowkey important: those three -- undescribed -- entries are NOT me being lazy. that's genuinely what the manual says. do not come for me π
π¦ DESCRIPTION π¦
so some IPs β think dsp, ipu, or iva β contain processors that need an HW reset line asserted / deasserted in order to fully enable the IP. like, the whole module doesn't wake up properly until you do the little reset dance π§
these modules may have multiple hard-reset lines, and each one resets a different 'submodule' inside the IP block. so you're not resetting the whole thing, just the one piece you point at π
this function will place the submodule into reset. that's the entire assignment, and it eats.
it returns 0 upon success π or -EINVAL upon an argument error π β so if you get -EINVAL back, check your args, bestie, because something you passed did not pass the vibe check.
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/prminst44xx.c omap_prm_base_init(9)omap4_prminst_is_hardreset_asserted(9)omap4_prminst_deassert_hardreset(9)
and that's the whole page, periodt π
sign-off time: this icon was served up from ./arch/arm/mach-omap2, dated October 2026, under the name omap4_prmins...rt_hardreset(9). go assert some reset lines, bestie β you got this πβ¨
π¦ 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