omap_device_...rt_hardreset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap_device_assert_hardreset(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this page is from the omap_device_...rt_hardreset(9) man page (yes the header truncates it, that's just how the man page renders the title, don't come for me) and it's all about setting a device's hardreset line. very niche. very ARM OMAP. very "iykyk". let's get into it ✨


✨ NAME ✨

omap_device_assert_hardreset β€” set a device's hardreset line πŸ’…

lowkey the whole point of this function. asserting that reset line. iconic behavior honestly.


🌸 SYNOPSIS 🌸

int omap_device_assert_hardreset (struct platform_device *pdev , const
char *name );

she takes two args and hands you back an int. no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” a struct platform_device * β€” this is the device you're resetting, bestie. the one getting the hardreset treatment. πŸ”₯
  • name β€” a const char * β€” the name of the reset line. literally just the name. gotta know which reset line we're talking about. πŸŽ€

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: this function sets the hardreset line identified by name on the IP blocks associated with the hwmods that back the platform_device pdev. that's the whole job. πŸ’…

but β€” and this is the important part, so pay attention β€” all of the hwmods associated with pdev must have the same hardreset line linked to them for this to work. like, all of them. every single one. if they're not all sharing that one reset line, girl, it's not happening. πŸ™ˆ

in the event of any failure, it passes along the return value of omap_hwmod_assert_hardreset. and on success? it returns 0. that's it. that's the deal. ⭐


🌈 SEE ALSO 🌈

all the siblings. the whole friend group. go say hi. 🫢✨


aaaand that's the page! πŸŽ€ this one lives under ./arch/arm/mach-omap2, dated October 2026, and yeah β€” omap_device_...rt_hardreset(9) is literally the footer too, we love a consistent brand. stay reset, stay slay πŸ’œπŸ¦‹

πŸ“¦ where this page comes from