omap_cm_module_enable(9)
π omap_cm_module_enable(9) β straight from the Kernel API Manual, bestie β¨
okay so like, this is the page for omap_cm_module_enable(9) from the Kernel API Manual, and it's literally about enabling a module. group-chat energy but make it kernel internals, yk? π«Ά
πΈ NAME πΈ
omap_cm_module_enable β enable a module π
π¦ SYNOPSIS π¦
int omap_cm_module_enable (u8 mode , u8 part , u16 inst , u16
clkctrl_offs );
π ARGUMENTS π
modeβ target mode for the module β¨partβ PRCM partition πinstβ PRCM instance πclkctrl_offsβCM_CLKCTRLregister offset for the module β
πΈ DESCRIPTION πΈ
So what it does is enable clocks for a module identified by (part, inst, clkctrl_offs), which makes its IO space accessible. It's giving "let there be light" but for clocks and IO space, fr fr. π₯
It returns 0 upon success, and -EINVAL if no per-SoC module_enable function pointer has been registered. Not me being dramatic about -EINVAL, it's literally in the docs. π
no cap: those return values are the whole vibe check here.0= slay,-EINVAL= the per-SoCmodule_enablefunction pointer was never registered. π
π₯ SEE ALSO π₯
Kernel file ./arch/arm/mach-omap2/cm_common.c β and the friend group is:
cm_split_idlest_reg(9)omap_cm_wait_module_ready(9)omap_cm_wait_module_idle(9)omap_cm_module_disable(9)cm_register(9)cm_unregister(9)omap2_cm_base_init(9)omap_cm_init(9)
mwah π source: ./arch/arm/mach-omap2, version/date vibe: October 2026 β iconic, 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