STRUCT IIO_EVENT_INTERFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct iio_event_interface(9) β€” Kernel API Manual πŸŽ€

okay so bestie, this is the Kernel API Manual page for struct iio_event_interface(9) β€” literally the chrdev interface for an event line. no cap, it’s giving β€œevent line but make it a struct” energy, and we’re obsessed πŸ’…βœ¨


✨ NAME ✨

struct iio_event_interface β€” chrdev interface for an event line. periodt πŸ’–


🌸 SYNOPSIS 🌸

struct iio_event_interface {
    wait_queue_head_t wait;
    struct iio_event_data *det_events;
    struct list_head        dev_attr_list;
    unsigned long           flags;
    struct attribute_group  group;
    struct mutex            read_lock;
    struct iio_ioctl_handler        ioctl_handler;
};

🧚 Members 🧚

  • wait β€” wait queue to allow blocking reads of events. yes bestie, blocking reads are literally invited 🫢
  • det_events β€” list of detected events. detected events stay booked and busy πŸ’…
  • dev_attr_list β€” list of event interface sysfs attribute. (singular β€œattribute” stays singular, we don’t edit the source 😌)
  • flags β€” file operations related flags including busy flag. busy flag is giving main character energy 🚩
  • group β€” event interface sysfs attribute group. a whole little sysfs squad 🌸
  • read_lock β€” lock to protect kfifo read operations. protect the kfifo at all costs πŸ”’
  • ioctl_handler β€” handler for event ioctl calls. ioctl calls got a dedicated handler, slay πŸ’…

πŸ’« SEE ALSO πŸ’«


that’s the whole vibe, bestie πŸ’– source/version: ./drivers/iio Β· date: October 2026 Β· page: struct iio_event_interface(9) 🫢✨

πŸ“¦ where this page comes from