devfreq_event_disable_edev(9)
π devfreq_event_disable_edev(9) π
ok so this is a page straight out of the Kernel API Manual β yes, the Kernel API Manual β and we're talking about devfreq_event_disable_edev. Bestie, it's literally the "turn it off and count it down" function. Let's go. β¨
πΈ NAME πΈ
devfreq_event_disable_edev β disables the devfreq-event dev and decreases the enable_count of the devfreq-event dev. two-for-one, no cap. π
π¦ SYNOPSIS π¦
int devfreq_event_disable_edev (struct devfreq_event_dev *edev );
like, it returns an int, and it takes exactly one thing. simple. iconic. π
π ARGUMENTS π
edevβ the devfreq-event device. that's it, that's the whole arg. your main character pointer. π
π₯ DESCRIPTION π₯
ok so listen: this function decreases the enable_count and disables the devfreq-event device. both. together. periodt. π
heads up though β after the devfreq-event device is disabled, the devfreq device can't use the devfreq-event device for get/set/reset operations. so likeβ¦ it's off off. no take-backs until you enable it again. π
β SEE ALSO β
Kernel file ./drivers/devfreq/devfreq-event.c β go read the source bestie, iykyk π§
devfreq_event_enable_edev(9)devfreq_event_is_enabled(9)devfreq_event_set_event(9)devfreq_event_get_event(9)devfreq_event_reset_event(9)devfreq_event_get_edev_by_phandle(9)devfreq_event_get_edev_count(9)devfreq_event_add_edev(9)devfreq_event_remove_edev(9)devm_devfreq_event_add_edev(9)devm_devfreq_event_remove_edev(9)
ok that's the whole page, you ate that π«Ά this little beauty lives in ./drivers/devfreq, it's part of the Kernel API Manual, and it's stamped October 2026. go forth and disable responsibly, 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