cppc_set_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cppc_set_enable(9) β€” Kernel API Manual bestie check ✨

Okay so bestie, meet cppc_set_enable(9) from the Kernel API Manual. It’s giving tiny-but-iconic kernel function energy, and its whole thing is literally: set to enable CPPC on the processor by writing the Continuous Performance Control package EnableRegister field. No cap. πŸ’…

✨ NAME ✨

cppc_set_enable β€” set to enable CPPC on the processor by writing the Continuous Performance Control package EnableRegister field. πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

int cppc_set_enable (int cpu , bool enable );

🫢 ARGUMENTS 🫢

  • cpu β€” CPU for which to enable CPPC register. πŸ’»
  • enable β€” 0 - disable, 1 - enable CPPC feature on the processor. πŸ”₯

🌈 RETURN 🌈

It returns 0 for success, or -ERRNO or -EIO otherwise. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/acpi/cppc_acpi.c β€” and here’s the whole SEE ALSO squad, because we do not skip refs in this house, fr fr:


Source/version ./drivers/acpi, dated October 2026 β€” mwah, love u, bye bestie πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from