IIO_ENUM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– IIO_ENUM πŸ’–

okay so this is from the Kernel API Manual bestie, like the kernel's own lil doc for IIO_ENUM(9) β€” and we're gonna get through it together, no stress 🫢


✨ NAME ✨

IIO_ENUM β€” Initialize enum extended channel attribute 🌸

like, it's the thing that starts your enum extended channel attribute. that's the whole vibe.


✨ SYNOPSIS ✨

IIO_ENUM (_name , _shared , _e );

copy it exact, don't @ me, the spacing is the spacing πŸ’…


✨ ARGUMENTS ✨

  • _name β€” the attribute name. literally just what you're calling the thing πŸŽ€
  • _shared β€” whether the attribute is shared between all channels. yes bestie, all of them, or not, your call πŸ‘‘
  • _e β€” a pointer to an iio_enum struct. it's a pointer, so like, be normal about it πŸ™ˆ

✨ DESCRIPTION ✨

so this one should usually be used together with IIO_ENUM_AVAILABLE 🌈

that's it, that's the tea. they're a matching set, iykyk. pairing them up is the move, and that's not me being extra, that's literally what the page says πŸ”₯

real talk: "usually" is the word here β€” keep it in your brain exactly like that ⭐

✨ SEE ALSO ✨

okay this list is LONG, so buckle up, we're going through every single one, no skipping, we don't do that here 😭


and that's the whole page, bestie, you ate that πŸ“

this lil baddie lives in ./include/linux/iio, dated October 2026, and yes it's IIO_ENUM(9) all the way down β€” thanks for reading, mwah πŸ’œβœ¨πŸ§š

πŸ“¦ where this page comes from