cm_register(9)
π cm_register(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for cm_register(9), and it's lowkey iconic because it's all about handing the OMAP CM common interface the per-SoC low-level data it needs. β¨
πΈ NAME πΈ
cm_registerβ register per-SoC low-level data with the CM.
π SYNOPSIS π
int cm_register (const struct cm_ll_data *cld );
π ARGUMENTS π
cldβ low-level per-SoC OMAP CM data & function pointers to register. That's the whole vibe: you pass in the data plus the function pointers, andcm_registerregisters them. π«Ά
π₯ DESCRIPTION π₯
This registers per-SoC low-level OMAP CM data and function pointers with the OMAP CM common interface. Simple concept, highkey important. π
The caller must keep the data pointed to by cld valid until it calls cm_unregister and it returns successfully. Do not let that data go stale before then, fr fr. π¨
Returns:
0upon success β slay. β-EINVALifcldisNULLβ no data, no registration, bestie. π-EEXISTifcm_registerhas already been called without an interveningcm_unregisterβ one at a time, periodt. π
π¦ SEE ALSO π¦
Kernel file ./arch/arm/mach-omap2/cm_common.c, plus these iconic little references: cm_split_idlest_reg(9), omap_cm_wait_module_ready(9), omap_cm_wait_module_idle(9), omap_cm_module_enable(9), omap_cm_module_disable(9), cm_unregister(9), omap2_cm_base_init(9), omap_cm_init(9). π
okay that's the whole page π β source/version: ./arch/arm/mach-omap2, date: October 2026, page: cm_register(9).
π¦ 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