cpufreq_get_current_driver(9)
πΈ cpufreq_get_current_driver(9) β the Kernel API Manual glow-up πΈ
okay so bestie, welcome to the Kernel API Manual entry for cpufreq_get_current_driver β yes, section 9, the fun one where all the kernel-internals girlies hang out π
this is the whole page, nothing skipped, i promise π«Ά
β¨ NAME β¨
cpufreq_get_current_driver β literally just returns the current driver's name, that's the whole gig π
π¦ SYNOPSIS π¦
const char * cpufreq_get_current_driver (void );
like, look at her. no arguments. she takes nothing and she gives you a string pointer. icon behavior honestly π
π ARGUMENTS π
voidβ no arguments. none. zero. nada. the void is voiding π
π DESCRIPTION π
so here's the tea β β this function returns the name string of whichever cpufreq driver is currently registered, and if there isn't one registered? it hands you back NULL. no cap, that's the entire function. simple, clean, effective, we stan a low-effort legend π
π§ SEE ALSO π§
all the sibling functions, fr fr β they live over in the kernel file ./drivers/cpufreq/cpufreq.c and honestly the whole squad is here:
cpufreq_cpu_get(9)cpufreq_cpu_put(9)adjust_jiffies(9)cpufreq_notify_transition(9)cpufreq_enable_fast_switch(9)cpufreq_disable_fast_switch(9)cpufreq_driver_resolve_freq(9)cpufreq_parse_governor(9)cpufreq_add_dev(9)cpufreq_out_of_sync(9)cpufreq_quick_get(9)cpufreq_quick_get_max(9)cpufreq_get_hw_max_freq(9)cpufreq_get(9)cpufreq_suspend(9)cpufreq_resume(9)cpufreq_driver_test_flags(9)cpufreq_get_driver_data(9)cpufreq_register_notifier(9)cpufreq_unregister_notifier(9)cpufreq_driver_fast_switch(9)cpufreq_driver_adjust_perf(9)cpufreq_driver_has_adjust_perf(9)cpufreq_update_pressure(9)cpufreq_set_policy(9)cpufreq_update_policy(9)cpufreq_update_limits(9)cpufreq_register_driver(9)
and that's the page bestie, go forth and query your drivers π
mwah π this came out of the./drivers/cpufreqcorner of the kernel, dated October 2026, and yes it really iscpufreq_get_current_driver(9)in theKernel API Manualβ periodt β¨ππ¦
π¦ 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