devfreq_event_disable_edev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🧚


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