cm_control(9)
π cm_control(9)
okay so this is a page straight out of the Kernel API Manual, and it's literally the tiniest little function ever, but she's iconic so let's talk about her π
β¨ NAME β¨
cm_control β the girl whose whole job is updating the CM_CTRL register. that's it. that's the gig. π
πΈ SYNOPSIS πΈ
void cm_control (u32 mask , u32 set );
returns void, meaning she gives you nothing back β no return value, no little gift, no nothing. she just does the thing and dips π¦
π ARGUMENTS π
maskβ the bits you wanna change, bestie. this is your little selection of which bits are even invited to the party πsetβ the bits you actually wanna set. the chosen ones. the main characters π
so like, mask says "these are the ones we're touching" and set says "and here's what they become" β two besties working together fr fr π«Ά
π₯ SEE ALSO π₯
- Kernel file
./arch/arm/mach-versatile/integrator.cβ go read the source, iykyk π cm_get(9)β she's the read to this write, the loml, the counterpart, go check her out too π
ngl this page is lowkey short but that's okay!! every kernel function deserves her moment in the spotlight, no cap π
and that's the whole vibe!! this little cutie lives in ./arch/arm/mach-versatile, dated October 2026, and yes she's filed under cm_control(9) β slay, periodt, see you in the kernel πβ¨ππ¦πΈπ
π¦ 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