_are_all_ha...nes_asserted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _are_all_ha...nes_asserted β€” straight outta the Kernel API Manual

okay bestie, gather round, because today we're reading a kernel function whose name got chopped in half by the manpage formatter and honestly? she's still serving. this one lives in the Kernel API Manual, section 9, and she is very niche and very ARM/OMAP and i'm obsessed πŸŽ€


🌸 NAME 🌸

_are_all_hardreset_lines_asserted β€” returns true if the @oh is hard-reset. that's it. that's the whole vibe check ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool _are_all_hardreset_lines_asserted (struct omap_hwmod *oh );

yes the spacing is exactly like that, don't @ me, that's how she was born πŸ’€


πŸ“ ARGUMENTS πŸ“

  • oh β€” a struct omap_hwmod *. that's the entire argument list. one (1) pointer. lowkey iconic for how much it does πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so here's the tea, bestie β˜•

if all the hardreset lines associated with oh are asserted, then this function returns true. slay. ✨

otherwise β€” and this is the part where it gets spicy β€” it returns false in either of these two situations:

  • part of oh is out hardreset, or
  • no hardreset lines associated with oh are asserted at all.

like, either way you're getting a false, no cap πŸ™ˆ

and why do we care? because this function is used to avoid executing some parts of the IP block enable/disable sequence if its hardreset line is set. so basically she's the bouncer at the club going "girl you are literally hard-reset right now, we are NOT running that enable/disable code, go home" πŸ’…πŸ”₯

real talk though: read the return conditions carefully, because "some of them" and "none of them" both land on false, and the function does not distinguish between those two for you. that's the whole behavior, no extras, no cap.

🧚 SEE ALSO 🧚

the source of all this wisdom is the kernel file ./arch/arm/mach-omap2/omap_hwmod.c β€” and because the manpage generator had zero chill, it also dumped the entire extended family on us. every single one, in order, no skips, we respect the list 🫢

like i said. the whole family reunion 🌈


and that's the page, bestie!! 🫢 this one comes to you courtesy of ./arch/arm/mach-omap2, dated October 2026, and the page itself is _are_all_ha...nes_asserted(9) in case you forgot where you were πŸ’œ go assert some hardreset lines (responsibly), drink water, and remember: if all of them are asserted, you get true. mwah πŸ˜˜πŸ’…

πŸ“¦ where this page comes from