_clkctrl_idlest(9)
π _clkctrl_idlest(9) β Kernel API Manual, section 9 π
okay so bestie, welcome to the group chat for _clkctrl_idlest(9) from the Kernel API Manual. this one's a lil cutie β it reads a CM_*_CLKCTRL register and hands you back the IDLEST bitfield, all nice and shifted down to bit 0. let's get into it β¨
β¨ NAME β¨
_clkctrl_idlest β read a CM_*_CLKCTRL register, then mask & shift the IDLEST bitfield π¦
πΈ SYNOPSIS πΈ
u32 _clkctrl_idlest (u8 part , u16 inst , u16 clkctrl_offs );
like, literally that's the whole vibe. three args in, a u32 out π
π ARGUMENTS π
partβ the PRCM partition ID, aka which partition theCM_CLKCTRLregister lives in πΊοΈinstβ the CM instance register offset, bestie β that's the*_INSTmacro πclkctrl_offsβ the module clock control register offset, which is the*_CLKCTRLmacro π―
π DESCRIPTION π
so what does it actually do? it returns the IDLEST bitfield of a CM_*_CLKCTRL register, shifted down to bit 0. that's it, that's the whole function, and honestly? she ate π
π₯
ngl the shifting is the main character energy here β the bitfield comes back already sitting at bit 0, so you don't gotta do the mask-and-shift dance yourself π«Ά
π SEE ALSO π
the whole friend group, fr fr β starting with the kernel file ./arch/arm/mach-omap2/cminst44xx.c π
omap_cm_base_init(9)_is_module_ready(9)_clktrctrl_write(9)omap4_cminst_is_clkdm_in_hwsup(9)omap4_cminst_clkdm_enable_hwsup(9)omap4_cminst_clkdm_disable_hwsup(9)omap4_cminst_clkdm_force_wakeup(9)omap4_cminst_wait_module_ready(9)omap4_cminst_wait_module_idle(9)omap4_cminst_module_enable(9)omap4_cminst_module_disable(9)omap4_clkdm_save_context(9)omap4_clkdm_restore_context(9)
and that's the page, bestie!! π§ this lil icon lives over in ./arch/arm/mach-omap2, and the version info is dated October 2026. go read the source, ily, bye πβ¨
π¦ 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