cpufreq_parse_governor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the cpufreq_parse_governor(9) page β€” this is part of the Kernel API Manual, and it's here to explain one very specific little function. πŸ’…

cpufreq_parse_governor β€” parse a governor string only for has_target(). That's the whole assignment, no cap. πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

struct cpufreq_governor * cpufreq_parse_governor (char *str_governor );

so it hands you back a struct cpufreq_governor *, and it takes exactly one thing: a char *str_governor. iconic signature, honestly. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • str_governor β€” the governor name, bestie. that's the string you're giving it. πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./drivers/cpufreq/cpufreq.c β€” and here's the whole friend group, literally all of them:


mwah πŸ’‹ β€” this page came from the ./drivers/cpufreq source, dated October 2026, and it's the cpufreq_parse_governor(9) entry in the Kernel API Manual. periodt. 🫢🌸

πŸ“¦ where this page comes from