omap4_cminst_module_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the CM_CLKCTRL register exists in. lowkey the "which neighborhood are we in" of the whole thing πŸ—ΊοΈ
  • inst β€” the CM instance register offset, aka the *_INST macro. it's giving "which house on the street" 🏠
  • clkctrl_offs β€” the module clock control register offset, aka the *_CLKCTRL macro. 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 πŸ‘‘:

(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