omap4_prmin...set_asserted(9)
π omap4_prmin...set_asserted(9) π
Ok so bestie, we're in the Kernel API Manual today and this one is a little function with a very long name and honestly lowkey a lot of mystery in its arguments. Stay with me, it's literally so simple once you clock what it does π
β¨ NAME β¨
omap4_prminst_is_hardreset_asserted β she reads the HW reset line state of submodules contained in the hwmod module. That's it, that's the job. A little peek at the reset line, no cap π
πΈ SYNOPSIS πΈ
int omap4_prminst_is_hardreset_asserted (u8 shift , u8 part , s16 inst ,
u16 rstctrl_offs );
π¦ ARGUMENTS π¦
shiftβ the register bit shift corresponding to the reset line you wanna check. This one is actually described, unlike her friends πpartβ-- undescribed --π« the manpage really just leaves her out here with no explanationinstβ-- undescribed --π same energy, no description, we simply do not knowrstctrl_offsβ-- undescribed --π iconic of the docs to say nothing actually
ngl bestie, three of the four arguments are literally just -- undescribed -- in the source page. I'm not gonna invent lore for them, that would be lying and lying is not the vibe β
π DESCRIPTION π
So here's the tea, and it's genuinely short:
She returns 1 if the (sub)module hardreset line is currently asserted, 0 if the (sub)module hardreset line is not currently asserted, or -EINVAL upon parameter error. That's the whole personality. Read the line, tell you if it's asserted or not, get mad politely with -EINVAL if you hand her bad params π
It's giving "simple function, complicated name," and honestly? We respect it π
π§ SEE ALSO π§
- Kernel file
./arch/arm/mach-omap2/prminst44xx.c omap_prm_base_init(9)omap4_prminst_assert_hardreset(9)omap4_prminst_deassert_hardreset(9)
Go read those if you want the full friend group lore, iykyk β
And that's the whole page, bestie! This lil' cutie lives in ./arch/arm/mach-omap2, the version/date on the tin is October 2026, and the page signs off as omap4_prmin...set_asserted(9) β yes the footer abbreviates her name, we don't ask questions, we just slay πβ¨π
π¦ 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