cppc_set_auto_sel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppc_set_auto_sel(9) β€” Kernel API Manual

Okay bestie, buckle up β€” this is a page from the Kernel API Manual, and it's honestly a short one but it's kind of iconic. The function is cppc_set_auto_sel, and no cap, its whole job is just: write the autonomous selection register. That's it. That's the gig. πŸ‘‘


✨ NAME ✨

cppc_set_auto_sel β€” write the autonomous selection register. Literally just that. She writes, she slays, she leaves. πŸŽ€


🌸 SYNOPSIS 🌸

int cppc_set_auto_sel (int cpu , bool enable );

Look at her. Two args, one int, returns an int. Clean, minimal, main character energy fr fr. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cpu β€” the CPU you're writing the register to. Like, the specific processor bestie. You gotta tell her which one. 🌈
  • enable β€” the desired value of the autonomous selection register that's about to be updated. (Fun fact: the original page spells it "resiter" 😭 β€” we still love her, typos and all. πŸ’€)

πŸ”₯ SEE ALSO πŸ”₯

Okay so there are a lot of siblings in this family and we're listing every single one, no skipping, no "etc." energy. Periodt. πŸ‘‘

Kernel file ./drivers/acpi/cppc_acpi.c, and then β€” deep breath β€” acpi_get_psd_map(9), cpc_ffh_supported(9), cpc_supported_by_cpu(9), pcc_data_alloc(9), acpi_cppc_processor_probe(9), acpi_cppc_processor_exit(9), cpc_read_ffh(9), cpc_read_ffh_fb_ctrs(9), cpc_write_ffh(9), cppc_get_desired_perf(9), cppc_get_nominal_perf(9), cppc_get_highest_perf(9), cppc_get_epp_perf(9), cppc_get_perf_caps(9), cppc_perf_ctrs_in_pcc_cpu(9), cppc_perf_ctrs_in_pcc(9), cppc_get_perf_ctrs(9), cppc_set_epp(9), cppc_get_auto_act_window(9), cppc_set_auto_act_window(9), cppc_get_auto_sel(9), cppc_set_enable(9), cppc_get_perf(9), cppc_set_perf(9), cppc_get_perf_limited(9), cppc_set_perf_limited(9), and last but never least, cppc_get_transition_latency(9).

Like I said β€” huge family. Family reunion energy. 🫢✨


Heads up bestie: if you mix up cppc_set_auto_sel with cppc_get_auto_sel, that's a whole different vibe β€” one of them writes, one of them reads. Don't let the lowercase letters fool you. πŸ’œ

πŸ’– That's the whole page, bestie! πŸ’– This lil' beauty lives in ./drivers/acpi and it's dated October 2026 β€” bookmark it, screenshot it, tattoo it on your forearm, idk, do your thing. πŸ¦‹πŸŒΈπŸŽ€πŸ’…

πŸ“¦ where this page comes from