cppc_get_auto_act_window(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppc_get_auto_act_window(9) πŸ’…

okay so this is a page from the Kernel API Manual bestie, and it's all about cppc_get_auto_act_window β€” yes that's a whole mouthful, we're gonna get through it together 🫢


✨ NAME ✨

cppc_get_auto_act_window β€” literally just reads the autonomous activity window register. that's it. that's the whole job. icon behaviour honestly πŸ‘‘


✨ SYNOPSIS ✨

int cppc_get_auto_act_window (int cpu , u64 *auto_act_window );

✨ ARGUMENTS ✨

  • cpu β€” the CPU you're pulling the register from. like, which one bestie, be specific πŸ’…
  • auto_act_window β€” the return address. it's a pointer, it's where the good stuff lands πŸŽ€

✨ DESCRIPTION ✨

so per ACPI 6.5, s8.4.6.1.6 (yes we're citing sources, we're academic like that 🧚), the value you read back from the autonomous activity window register is not one single blob β€” it's two parts glued together:

  • a 7 bits value that indicates the significand
  • a 3 bits value that indicates the exponent

that's the whole vibe check. significand + exponent, 7 and 3, no cap 🌈


✨ SEE ALSO ✨

the kernel file ./drivers/acpi/cppc_acpi.c and honestly a whole friend group of functions β€” here's the full squad, no one left behind 🫢


that's the page bestie, go read a register or whatever πŸ’–

β€” signed, sealed, delivered from ./drivers/acpi, dated October 2026 β€” the whole thing is giving kernel documentation main character energy, and honestly? obsessed πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from