omap4_cminst_module_disable(9)
π omap4_cminst_module_disable(9) π
okay so bestie, welcome to the Kernel API Manual β yes this is a section 9 situation, kernel devs only, we're in the kernel internals part of the party π and we're about to talk about... turning a module off.
β¨ NAME β¨
omap4_cminst_module_disable β literally the function that disables the module inside CLKCTRL π like that's it, that's the whole gig
πΈ SYNOPSIS πΈ
void omap4_cminst_module_disable (u8 part , u16 inst , u16 clkctrl_offs );
notice the void up front β she returns nothing, she's a doer not a talker, no cap π«Ά
π ARGUMENTS π
partβ the PRCM partition ID that theCM_CLKCTRLregister exists in. lowkey the "which neighborhood are we in" of the whole thing πΊοΈinstβ the CM instance register offset, aka the*_INSTmacro. it's giving "which house on the street" πclkctrl_offsβ the module clock control register offset, aka the*_CLKCTRLmacro. and this one's the actual door you're knocking on πͺβ¨
π¦ DESCRIPTION π¦
No return value.
yep. that's the entire description in the original and honestly? iconic minimalism π
she does her job, she does not hand you a status code, she is not here to hold your hand. the return type is void, so don't go checking for a result β there isn't one, bestie, that's the vibe π
π₯ SEE ALSO π₯
the kernel file herself lives at ./arch/arm/mach-omap2/cminst44xx.c β that's where you'll find her π
and here's the whole friend group, fr fr π:
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_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_clkdm_save_context(9)omap4_clkdm_restore_context(9)
(and yes there's an _enable right next to the _disable, they're siblings, we stan a balanced pair π)
heads up bestie: per the page, there's no return value to check, so don't write error handling around this one β there is literally nothing coming back π
and that's the whole page!! π she came from ./arch/arm/mach-omap2, dated October 2026, and she's filed under omap4_cminst_module_disable(9) in the Kernel API Manual. mwah, go disable some modules 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