omap4_cminst...isable_hwsup(9)
π omap4_cminst...isable_hwsup(9) β from the Kernel API Manual, bestie π
okay so real talk, this one lives in the Kernel API Manual and the name got chopped for the header which is honestly iconic of it. let's get into it β¨
πΈ NAME πΈ
omap4_cminst_clkdm_disable_hwsup β the function that puts a clockdomain into swsup-idle mode. yes girl, we're turning off the hardware's autopilot and handing the wheel to software π«Ά
β¨ SYNOPSIS β¨
void omap4_cminst_clkdm_disable_hwsup (u8 part , u16 inst , u16 cdoffs );
three little args, zero return value, one very specific job. no cap π
π¦ ARGUMENTS π¦
partβ the PRCM partition ID, aka the neighborhood where this clockdomain's registers actually live πinstβ the CM instance register offset, and it's literally the*_INSTmacro, iykykcdoffsβ the Clockdomain register offset, that's the*_CDOFFSmacro, don't forget the asterisk bestie β
π DESCRIPTION π
so what this does is: it takes the clockdomain that (part, inst, cdoffs) points at and drops it into software-supervised idle mode. which lowkey means the Linux OMAP clockdomain code is the one controlling it manually now β hardware supervision? not invited. it's giving "I'll take it from here" energy π
and no, there's no return value. it just does the thing. periodt π
π₯ SEE ALSO π₯
the source file is ./arch/arm/mach-omap2/cminst44xx.c and the whole friend group is here, go say hi π«Ά
omap_cm_base_init(9)_clkctrl_idlest(9)_is_module_ready(9)_clktrctrl_write(9)omap4_cminst_is_clkdm_in_hwsup(9)omap4_cminst_clkdm_enable_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)
ngl if you need the opposite of this function, omap4_cminst_clkdm_enable_hwsup(9) is literally right there in the list, matching energy π
π§ cute little sign-off π§
that's the whole page! brought to you from ./arch/arm/mach-omap2, dated October 2026, and no I will not be taking questions about how a manual page from the future got in your terminal πβ¨ bye bestie, slay your clockdomains responsibly π
π¦ 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