cppc_get_nominal_perf(9)
π cppc_get_nominal_perf π
okay so bestie, welcome to the Kernel API Manual, section 9 β this one's a little function called cppc_get_nominal_perf, and honestly? it's giving "small but mighty." it does exactly one job and it does it cute. let's get into it π
β¨ NAME β¨
cppc_get_nominal_perf β get the nominal performance register value. that's it. that's the whole vibe. she reads a register, she hands you a number, she leaves. iconic behavior fr fr π
πΈ SYNOPSIS πΈ
int cppc_get_nominal_perf (int cpunum , u64 *nominal_perf );
look at her. two arguments, returns an int. no cap, that's the whole signature. π¦
π«Ά ARGUMENTS π«Ά
cpunumβ the CPU you wanna pull the nominal performance from. like, which cpu bestie. pick one. πnominal_perfβ the return address. this is where the value lands when the function's done doing its little thing. it's au64 *, so she's writing through a pointer, very main character energy β¨
β RETURN β
0for success β slay, we love a clean zero π-EIOotherwise β not slay. something went sideways at the I/O level π
heads up: those are literally the only two outcomes listed. no in-between, no "well actually," just0or-EIO. periodt.
π SEE ALSO π
okay this section is a whole friend group, buckle up π§ β all of these live in the kernel file ./drivers/acpi/cppc_acpi.c:
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_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_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)
like I said. whole friend group. iykyk π
and that's the page, bestie!! this little gem lives under ./drivers/acpi, stamped October 2026, and it's filed in the Kernel API Manual β go forth and read your nominal perf, responsibly ππ
π¦ 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