devfreq_event_enable_edev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ devfreq_event_enable_edev ✨

Okay bestie, welcome to the devfreq_event_enable_edev(9) kernel API page πŸ’– this is a page from the Kernel API Manual, and honestly it's giving "small function, big responsibility." Let's get into it 🫢


🌸 NAME 🌸

devfreq_event_enable_edev β€” enables the devfreq-event dev and bumps up the enable_count of that devfreq-event dev. Two-for-one, no cap πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int devfreq_event_enable_edev (struct devfreq_event_dev *edev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • edev β€” the devfreq-event device. That's it, that's the whole argument list, she's low maintenance ✨

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea β˜• β€” this function increases the enable_count and enables the devfreq-event device. Both. Together. Iconic.

And the important part, bestie, listen up: the devfreq-event device should be enabled before using it by devfreq device. Like, you literally have to turn it on first. Can't skip that step, fr fr πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

Peep the kernel file and then go down the whole friend group of related functions πŸ‘‘


πŸ’€ Reminder from your girl: enable_count goes up, device gets enabled. That's the whole vibe. Don't forget to actually enable it before the devfreq device tries to use it β€” that's the classic oopsie πŸ“

And that's the page, bestie!! 🧚 This little gem lives in ./drivers/devfreq and it's dated October 2026 β€” so mark your calendar, she's a whole era πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from