cpc_read_ffh_fb_ctrs(9)
π cpc_read_ffh_fb_ctrs β NAME β¨
okay so bestie, welcome to the Kernel API Manual π and lemme introduce you to cpc_read_ffh_fb_ctrs β she reads FFH feedback counters together. that's it, that's the whole vibe. two counters, one call, no cap π«Ά
πΈ SYNOPSIS πΈ
int cpc_read_ffh_fb_ctrs (int cpunum , struct cpc_reg *reg1 , u64 *val1
, struct cpc_reg *reg2 , u64 *val2 );
literally just hand her a CPU and two registers and she'll hand you back two values. iconic behavior honestly π
β¨ ARGUMENTS β¨
cpunumβ Target CPU π― like, which CPU bestie. that's the one.reg1β the first CPPC register information π (yes, "information" β she's first, she gets the whole info package)val1β place holder for the first return value π this is where result numero uno goes to livereg2β the second CPPC register information π¦ same deal, but she's secondval2β place holder for the second return value π and this is where result numero dos lands
π RETURN π
0β slay, success β¨- error code otherwise β not slay, something went sideways π it's giving error, but at least she tells you
π₯ SEE ALSO π₯
kernel file ./drivers/acpi/cppc_acpi.c β and honestly the whole friend group showed up for this one, so let me introduce everybody π:
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_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_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)
ngl that's a lot of siblings but they're all valid, i don't make the rules π
and that's the page bestie π§ this little beauty lives in ./drivers/acpi, and she was dated October 2026 β so mark your calendar, mwah πβ
π¦ 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