find_devfreq_governor(9)
find_devfreq_governor(9) π
okay so bestie, this is find_devfreq_governor, and itβs serving straight out of the Kernel API Manual, section 9. Itβs a lil lookup function with main-character energy: you give it a governor name, it searches the devfreq governor list, and boom β matched governor pointer. β¨
π NAME π
find_devfreq_governor β find devfreq governor from name
πΈ SYNOPSIS πΈ
struct devfreq_governor * find_devfreq_governor (const char *name );
π¦ ARGUMENTS π¦
nameβ name of the governor. literally just the governorβs name, bestie π«Ά
π DESCRIPTION π
Search the list of devfreq governors and return the matched governorβs pointer.
The caller should be holding devfreq_list_lock. no cap, that lock detail is important β the docs say it should be held by the caller, so respect the lock in this house π
friendly reminder: devfreq_list_lock should be held by the caller. thatβs the vibe check for this function π₯
π SEE ALSO π
Kernel file ./drivers/devfreq/devfreq.c β thatβs where the whole squad lives:
find_device_devfreq(9)devfreq_get_freq_range(9)devfreq_get_freq_level(9)devfreq_update_status(9)try_then_request_governor(9)devfreq_update_target(9)update_devfreq(9)devfreq_monitor(9)devfreq_monitor_start(9)devfreq_monitor_stop(9)devfreq_monitor_suspend(9)devfreq_monitor_resume(9)devfreq_update_interval(9)devfreq_notifier_call(9)qos_notifier_call(9)qos_min_notifier_call(9)qos_max_notifier_call(9)devfreq_dev_release(9)devfreq_add_device(9)devfreq_remove_device(9)devm_devfreq_add_device(9)devm_devfreq_remove_device(9)devfreq_suspend_device(9)devfreq_resume_device(9)devfreq_suspend(9)devfreq_resume(9)devfreq_add_governor(9)devm_devfreq_add_governor(9)devfreq_remove_governor(9)devfreq_summary_show(9)devfreq_recommended_opp(9)devfreq_register_opp_notifier(9)devfreq_unregister_opp_notifier(9)devm_devfreq_register_opp_notifier(9)devm_devfreq_unregister_opp_notifier(9)devfreq_register_notifier(9)devm_devfreq_register_notifier(9)devm_devfreq_unregister_notifier(9)
source/version: ./drivers/devfreq Β· date: October 2026 Β· page: find_devfreq_governor(9) β mwah, slay, and happy governor hunting πβ¨
π¦ 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