_omap_device_idle_hwmods(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _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 β€” the struct omap_device *od in 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 πŸ”₯

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