STRUCT DEVFREQ_EVENT_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct devfreq_event_dev(9) 🌸

okay bestie, welcome to the Kernel API Manual page for struct devfreq_event_dev(9) β€” the devfreq-event device, and yes we are gonna get into it πŸ’…


✨ NAME ✨

struct devfreq_event_dev β€” literally the devfreq-event device. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

here's the struct in all its iconic glory, bestie:

struct devfreq_event_dev {
    struct list_head node;
    struct device dev;
    struct mutex lock;
    u32 enable_count;
    const struct devfreq_event_desc *desc;
};

πŸ’… Members πŸ’…

  • node β€” contains the devfreq-event device that have been registered.
  • dev β€” the device registered by devfreq-event class. dev.parent is the device using devfreq-event.
  • lock β€” a mutex to protect accessing devfreq-event.
  • enable_count β€” the number of enable function have been called.
  • desc β€” the description for devfreq-event device.

πŸ’– Description πŸ’–

This structure contains devfreq-event device information. that's the vibe 🌈


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/linux/devfreq-event.h struct devfreq_event_data(9), struct devfreq_event_ops(9), struct devfreq_event_desc(9)

source path ./include/linux Β· version/date October 2026 Β· page struct devfreq_event_dev(9) β€” mwah, bestie πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from