cm_control(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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