omap2_clk_e...autoidle_all(9)
π 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 π₯
- Kernel file
./drivers/clk/ti/autoidle.cβ the mothership, go read her π omap2_clk_deny_idle(9)omap2_clk_allow_idle(9)_clk_generic_allow_autoidle_all(9)_clk_generic_deny_autoidle_all(9)of_ti_clk_autoidle_setup(9)omap2_clk_disable_autoidle_all(9)β the opposite twin, the uno reverse card π
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
- 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