omap2_clk_e...autoidle_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– omap2_clk_enable_autoidle_all πŸ’–

ok so real talk, this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, she's got lore) and the star of the show is omap2_clk_enable_autoidle_all. bestie, it's giving "small function, big responsibility" and we're gonna get into it. πŸŽ€


✨ NAME ✨

omap2_clk_enable_autoidle_all β€” turns on autoidle for literally every single OMAP clock that supports it. all of them. the whole squad. πŸ‘‘


🌸 SYNOPSIS 🌸

int omap2_clk_enable_autoidle_all (void );

that's it. that's the whole signature. she takes nothing and she gives you back an int. main character energy fr. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments πŸ’€ like, none. zero. the function shows up empty-handed and honestly? respect. it doesn't need anything from you, it just needs you to believe. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe: this function goes around enabling clock autoidle on all the OMAP clocks that have allow_idle function pointers associated with them. if a clock's got the pointer, it gets the autoidle. no pointer, no entry, iykyk. 🌈

and like β€” important context bestie β€” this function is intended to be temporary until support for this gets added to the common clock code. so she's a limited-edition, run-it-while-it-lasts kind of situation. cherish her. πŸ₯Ί

she returns 0. that's it. 0. immaculate. no drama, no error codes, just a clean little zero. slay. ⭐

no cap, if you're reading this hoping for a wild return value, I'm so sorry, it's literally 0 and we're all just gonna have to be okay with that πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


aaaand that's the whole page, bestie πŸ’œ huge shoutout to the source/version corner: this cutie lives under ./drivers/clk/ti and she's dated October 2026 β€” so she's from the future, obviously, of course she is, she ate and left no crumbs πŸ“πŸ§šβ€β™€οΈ periodt.

πŸ“¦ where this page comes from