omap4_cminst...kdm_in_hwsup(9)
π omap4_cminst_is_clkdm_in_hwsup β the manual page, but make it make sense
okay so bestie, sit down, hydrate, and let me tell you about omap4_cminst_is_clkdm_in_hwsup(9) from the Kernel API Manual. it's a whole little function and honestly it's giving "small but mighty" π§β¨
β¨ NAME β¨
omap4_cminst_is_clkdm_in_hwsup β literally just answers the question: is this clockdomain in hwsup idle mode? that's it. that's the whole gig. π
π SYNOPSIS π
bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs);
three args, one bool coming back at you. no cap. π¦
πΈ ARGUMENTS πΈ
partβ the PRCM partition ID, aka the partition where theCM_CLKSTCTRLregister lives. it's au8, it's tiny, it's important πinstβ the CM instance register offset, the*_INSTmacro one.u16energy β¨cdoffsβ the clockdomain register offset, the*_CDOFFSmacro one. alsou16, also iconic π
π DESCRIPTION π
so what does it actually do? it returns true if the clockdomain referred to by (part, inst, cdoffs) is chilling in hardware-supervised idle mode. and if it's not? it returns 0. simple as that, no drama, no side quests. π«Ά
lowkey the whole vibe is: you hand it three little numbers, it tells you if that clockdomain is in hwsup. main character energy fr fr. π
π₯ SEE ALSO π₯
like, go read these too, they're all in the same friend group:
- Kernel file
./arch/arm/mach-omap2/cminst44xx.c omap_cm_base_init(9)_clkctrl_idlest(9)_is_module_ready(9)_clktrctrl_write(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)
bestie quick reminder: the function lives in ./arch/arm/mach-omap2 and this page is dated October 2026 β so yeah, mark your calendar, it's a whole era πβ¨
and that's the page!! mwah π β sourced from ./arch/arm/mach-omap2, October 2026 edition, signed off with love and a little π from your favorite kernel girlie. 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