omap_device_...rt_hardreset(9)
π 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β astruct platform_device *β this is the device you're resetting, bestie. the one getting the hardreset treatment. π₯nameβ aconst 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 π
- Kernel file
./arch/arm/mach-omap2/omap_device.cβ go read the source, it's giving main character energy π _add_hwmod_clocks_clkdev(9)omap_device_build_from_dt(9)_omap_device_enable_hwmods(9)_omap_device_idle_hwmods(9)omap_device_alloc(9)omap_device_enable(9)omap_device_idle(9)omap_device_deassert_hardreset(9)omap_device_late_idle(9)
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
- 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