acpi_process..._cpuidle_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_process..._cpuidle_dev(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a kernel function page and it's gonna be so chill, i promise 🫢


🌸 NAME 🌸

acpi_processor_setup_cpuidle_dev β€” sets up the CPUIDLE device, like, the per-cpu data situation πŸ’«

fr fr that's the whole vibe: it configures the CPUIDLE device, i.e. the per-cpu data. no cap.


✨ SYNOPSIS ✨

void acpi_processor_setup_cpuidle_dev (struct acpi_processor *pr ,
struct cpuidle_device *dev );

look at her go 😭 she's void, she takes two pointers, she does not return anything. iconic behaviour honestly.


πŸŽ€ ARGUMENTS πŸŽ€

  • pr β€” the ACPI processor πŸ‘‘ like, the processor itself, the main character
  • dev β€” the cpuidle device πŸ¦‹ the device bestie that's getting set up

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/acpi/processor_idle.c β€” go read her, she's right there πŸ’–

and the whole friend group:


lowkey a reminder: this page is all about configuring the per-cpu CPUIDLE device data β€” that's it, that's the whole job πŸ’… don't go inventing extra behaviour, she's booked and busy.

and that's a wrap, bestie!! πŸŽ€ this page lives over in ./drivers/acpi, dated October 2026, and honestly? she ate. periodt. πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from