STRUCT IIO_CHAN_SPEC_EXT_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iio_chan_spec_ext_info(9) πŸ’…

okay so bestie, this page is from the Kernel API Manual, and it's literally the extended channel info attribute. no cap, it's giving β€œthe struct that describes an extended channel info attribute,” and we're gonna do a full vibe check. βœ¨πŸ’–

🌸 NAME 🌸

struct iio_chan_spec_ext_info β€” Extended channel info attribute. periodt. πŸŽ€

🌈 SYNOPSIS 🌈

here's the exact code shape, bestie β€” don't let the line wraps scare you, fr fr:

       struct iio_chan_spec_ext_info {
           const char *name;
           enum iio_shared_by shared;
           ssize_t (*read)(struct iio_dev *, uintptr_t private, struct
       iio_chan_spec const *, char *buf);
           ssize_t (*write)(struct iio_dev *, uintptr_t private, struct
       iio_chan_spec const *, const char *buf, size_t len);
           uintptr_t private;
        };

🫢 Members 🫢

  • name β€” info attribute name. cute and simple. πŸŽ€
  • shared β€” whether this attribute is shared between all channels. highkey important for the group-chat energy. πŸ‘―
  • read β€” read callback for this info attribute, may be NULL. so yes, it can be missing, ngl. 😭
  • write β€” write callback for this info attribute, may be NULL. same energy: may be NULL. πŸ’€
  • private β€” data private to the driver. it's giving β€œdriver's own little secret stash.” πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./include/linux/iio/iio.h β€” and here's the whole linked squad, no cap:


mwah πŸ’‹ this page is from source/version ./include/linux/iio, dated October 2026. slay. πŸ¦‹

πŸ“¦ where this page comes from