_allow_idle(9)
πΈ _allow_idle(9) β like, the Kernel API Manual's cutest little power-saver πΈ
okay bestie, welcome to the Kernel API Manual page for _allow_idle, and trust me when I say this one is short but iconic π
it's a kernel function that literally lets a DPLL go to sleep when nobody's using it. main character energy fr fr.
β¨ NAME β¨
_allow_idle β the one that flips on the DPLL autoidle bits π
I know, I know β "enable DPLL autoidle bits" sounds like a lot. It is what it says. She turns the autoidle on. Periodt. π
π¦ SYNOPSIS π¦
void _allow_idle (struct clk_hw_omap *clk );
that's it. that's the whole signature. no return value, no drama, no surprises. a clean little void moment β¨
π ARGUMENTS π
clkβ your girl. this is thestruct clk *of the DPLL you want to operate on π like, the actual clock thingy you're telling to chill out. you gotta hand her over, no cap.
π DESCRIPTION π
okay so here's the vibe: _allow_idle enables DPLL automatic idle control π« that's the whole job and she does it well.
what that means (iykyk) is that the DPLL will enter low-power stop when its downstream clocks are gated π₯ like, once nothing downstream needs it, she clocks out and goes to sleep. truly respectful of everyone's time and energy.
No return value. obviously. she's void. she doesn't report back, she just does the thing. π«Ά
π also there's aREVISITnote tucked in here, and we do not ignore those in this house: the DPLL can optionally enter low-power bypass by writing0x1instead. the manpage also asks for some mechanism to optionally enter this mode β so like, that's a known "would be nice to have" and not a thing you can just do today π don't go assuming, bestie.
π SEE ALSO π
- the Kernel file
./arch/arm/mach-omap2/clkt2xxx_dpll.cπ β go read the source, it's giving receipts _deny_idle(9)π«π€ β the literal opposite of this one, the "actually no, stay awake" page. bestie duo fr fr
πΈπ and that's the whole page!! tiny but mighty, just like her ππΈ
π§ signed, sealed, delivered: this is from the./arch/arm/mach-omap2source, dated October 2026, and yes the title is_allow_idle(9)β you're welcome, mwah ππ
π¦ 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