cppc_get_highest_perf(9)
β¨ cppc_get_highest_perf β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual entry for cppc_get_highest_perf(9) and honestly? she's a little icon. tiny function, big main character energy π
πΈ NAME πΈ
cppc_get_highest_perf β get the highest performance register value π (yes, that's literally her whole job and she does it flawlessly, no cap)
π¦ SYNOPSIS π¦
int cppc_get_highest_perf (int cpunum , u64 *highest_perf );
π ARGUMENTS π
cpunumβ the CPU you're pulling the highest performance from π like, which one bestie, be specifichighest_perfβ the return address π«Ά this is where the answer gets dropped off, so pls make sure it's a real place
β RETURN β
0β success slay β¨ everything went off without a hitch-EIOβ otherwise π like if it's not0, it's this, and that's the whole story
π SEE ALSO π
the whole friend group, fr fr β kernel file ./drivers/acpi/cppc_acpi.c plus:
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_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_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), cppc_get_transition_latency(9)
π quick vibe check: that's a lot of siblings and every single one of them is invited to the function call. don't skip any, iykyk π
π and that's the page!! brought to you by the fine folks in ./drivers/acpi, dated October 2026 β go forth and read those registers bestie, ily, bye!! ππβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms