devfreq_recommended_opp(9)
πΈ NAME πΈ
hey bestie, welcome to the devfreq_recommended_opp(9) page from the Kernel API Manual β¨
devfreq_recommended_opp β the helper function that gets you the proper OPP for the freq value you hand to the target callback. π
β¨ SYNOPSIS β¨
struct dev_pm_opp * devfreq_recommended_opp (struct device *dev ,
unsigned long *freq , u32 flags );
π ARGUMENTS π
devβ the devfreq user device. (parent of devfreq) π«Άfreqβ the frequency given to the target function.flagsβ flags handed from the devfreq framework.
π¦ DESCRIPTION π¦
okay so here's the tea: the callers are required to call dev_pm_opp_put for the returned OPP after use. that's the requirement, bestie β don't forget it π
π SEE ALSO π
Kernel file: ./drivers/devfreq/devfreq.c
find_device_devfreq(9)devfreq_get_freq_range(9)devfreq_get_freq_level(9)devfreq_update_status(9)find_devfreq_governor(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_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)
okay that's the whole page, bestie π source/version: ./drivers/devfreq; date: October 2026; manual: devfreq_recommended_opp(9) π
π¦ 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