devm_devfreq...opp_notifier(9)
π devm_devfreq_register_opp_notifier β the Kernel API Manual, but make it make sense
okay so bestie, welcome to the glow-up edition of the Kernel API Manual page for devm_devfreq...opp_notifier(9). this one's short and sweet β it's the resource-managed version of devfreq_register_opp_notifier(), and yes the "devm" is doing exactly what you think it's doing π
β¨ NAME β¨
devm_devfreq_register_opp_notifier β it's the resource-managed glow-up of devfreq_register_opp_notifier(). same energy, but the cleanup is handled for you π«Ά
πΈ SYNOPSIS πΈ
int devm_devfreq_register_opp_notifier (struct device *dev , struct devfreq *devfreq );
like, that's the whole vibe. two args, one int coming back at you π
π¦ ARGUMENTS π¦
devβ the devfreq user device. it's the parent ofdevfreq, so think main-character-adjacent β¨devfreqβ the devfreq object itself. the actual icon of this function π
π SEE ALSO π
so like, the kernel file for all this is ./drivers/devfreq/devfreq.c, and honestly the whole friend group is here β literally the entire devfreq cast, no cap π
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_recommended_opp(9)devfreq_register_opp_notifier(9)devfreq_unregister_opp_notifier(9)devm_devfreq_unregister_opp_notifier(9)devfreq_register_notifier(9)devm_devfreq_register_notifier(9)devm_devfreq_unregister_notifier(9)
ngl bestie, this page is short β but every one of those is a real reference, so go click through them when you're ready. iykyk π§
okay that's the whole page, periodt π it lives in ./drivers/devfreq, it's dated October 2026, and it's filed under devm_devfreq...opp_notifier(9) β go be iconic with your notifiers, bestie ππ
π¦ 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