omap4_cmins...enable_hwsup(9)
β¨ omap4_cminst_clkdm_enable_hwsup β¨
okay so bestie, we're in the Kernel API Manual today β pull up a chair, grab a lil snack π, and let me tell you about omap4_cminst_clkdm_enable_hwsup(9) because this one is literally so simple it's almost iconic for it.
π NAME π
omap4_cminst_clkdm_enable_hwsup β put a clockdomain in hwsup-idle mode
like. that's it. that's the whole vibe. hwsup-idle mode β¨
π SYNOPSIS π
void omap4_cminst_clkdm_enable_hwsup (u8 part , u16 inst , u16 cdoffs );
note the void bestie β this one is not coming back with an answer. it just does its thing π
πΈ ARGUMENTS πΈ
three lil guys walk into a clockdomain, and they are:
partβ the PRCM partition ID where the clockdomain registers live. like, which neighbourhood we're in π‘instβ the CM instance register offset (that's the*_INSTmacro, iykyk)cdoffsβ the Clockdomain register offset (and that's the*_CDOFFSmacro, no cap)
π¦ DESCRIPTION π¦
ok so what does it actually do?? it takes the clockdomain that you pointed at with (part, inst, cdoffs) and puts it into hardware-supervised idle mode. that's the whole storyline. no plot twist, no return value. π«Ά
the way that it's lowkey just three arguments and a dream π
π SEE ALSO π
you already know we gotta shout out the whole squad π₯ the kernel file lives at ./arch/arm/mach-omap2/cminst44xx.c, and here's everyone else in the group chat:
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_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)
fr fr go read them, they're all serving π
mwah π that's the page! it came from ./arch/arm/mach-omap2 and it's dated October 2026 β so basically a time traveller π§ stay hydrated, keep your clockdomains supervised, and I'll see you in the next manpage bestie πβ¨π
π¦ 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