acpi_get_psd_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_get_psd_map β€” NAME ✨

okay so this is acpi_get_psd_map, bestie, straight out of the Kernel API Manual πŸŽ€ β€” and what it does is map the CPUs in the freq domain of a given cpu. like, it finds the whole squad. periodt.


🌸 SYNOPSIS 🌸

int acpi_get_psd_map (unsigned int cpu , struct cppc_cpudata *cpu_data
);

literally the entire signature. she's small but she's doing a lot πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cpu β€” the cpu you're starting from πŸ’– β€” this one tells the function to find all CPUs that share a domain with cpu.
  • cpu_data β€” a pointer to CPU specific CPPC data including PSD info 🫢. that's the vibe: it's your CPU's whole little info packet.

⭐ RETURN ⭐

0 for success or negative value for err πŸ’€ β€” so if you get 0, slay, you're golden πŸ‘‘; anything negative and something went sideways, no cap.


🧚 SEE ALSO 🧚

Kernel file ./drivers/acpi/cppc_acpi.c β€” that's where the magic lives 🌈

like… that's the whole friend group, go read all of them iykyk πŸ’œ


πŸŽ€ sign-off πŸŽ€

this little icon came from the ./drivers/acpi corner of the kernel, dated October 2026 β€” and honestly? she ate. go find your freq domain besties, you got this πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from