_omap_device_idle_hwmods(9)
β¨ _omap_device_idle_hwmods(9) β¨
okay so bestie, welcome to the kernel API manual for _omap_device_idle_hwmods π
this one lives in section 9, and it's a sweet little helper that's about to put a whole bunch of hardware modules to sleep π΄
πΈ NAME πΈ
_omap_device_idle_hwmods β literally just calls omap_hwmod_idle() on all the hwmods π«Ά
π¦ SYNOPSIS π¦
int _omap_device_idle_hwmods (struct omap_device *od );
π ARGUMENTS π
odβ thestruct omap_device *odin question, i.e. the omap_device whose underlying hwmods we're about to send to their little naptime π΄ that's the whole argument list, bestie, one (1) pointer, iconic behavior honestly π
π DESCRIPTION π
So the vibe here is: idle all the underlying hwmods. Every single one. No hwmod left behind π it goes through them and hits omap_hwmod_idle() on each.
And then? It returns 0. That's it. That's the whole tea β no error paths, no drama, just 0 and a little wave goodbye π
π₯ SEE ALSO π₯
- the kernel file
./arch/arm/mach-omap2/omap_device.cβ that's where this queen lives, go read her neighbors π§ _add_hwmod_clocks_clkdev(9)omap_device_build_from_dt(9)_omap_device_enable_hwmods(9)omap_device_alloc(9)omap_device_enable(9)omap_device_idle(9)omap_device_assert_hardreset(9)omap_device_deassert_hardreset(9)omap_device_late_idle(9)
like, that's a whole friend group fr fr π« go say hi to all of them
ngl if you came here looking for a return value other than 0, I have to disappoint you π₯² zero is the moment, zero is the answer, periodt.
okay that's the page!! this little writeup comes from ./arch/arm/mach-omap2 (that's the source/version situation, mwah π) and it's dated October 2026 β so like, future girl summer ππ bye bestie, go idle some hwmods responsibly β¨π
π¦ 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