STRUCT IIO_BACKEND_DATA_FMT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, so this is a page from the Kernel API Manual (yes, that Kernel API Manual, the one with the lore) and we're gonna talk about struct iio_backend_data_fmt β€” genuinely one of the cutest little structs in the IIO cinematic universe. it's giving "small but important". no cap. 🫢


✨ NAME ✨

struct iio_backend_data_fmt β€” the backend data format. that's it, that's the vibe. it literally just describes how data is formatted on the backend. icon behavior honestly. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole glow-up, verbatim, don't come for me:

struct iio_backend_data_fmt {
    enum iio_backend_data_type type;
    bool sign_extend;
    bool enable;
};

like, look at her. three fields. zero drama. main character energy fr fr. ✨


🌸 Members 🌸

okay so let's meet the cast, one by one, because they all matter:

  • type β€” the data type. literally just: what kind of data is this. that's the whole job. πŸ‘‘
  • sign_extend β€” a bool that tells you whether the data is sign extended or not. that's it. that's the flag. it's a yes/no girlie and we respect her. πŸŽ€
  • enable β€” enable/disable the data format module. and listen, this one's important: if it's disabled, no formatting will happen. like, none. zero formatting. the formatting is not formatting. so if you're sitting there wondering why nothing's getting formatted... check this bool, bestie. 😭

πŸ”₯ SEE ALSO πŸ”₯

the extended universe, aka the required reading (iykyk):

  • the kernel file ./include/linux/iio/backend.h β€” go read it, it's right there 🧚
  • IIO_BACKEND_EX_INFO(9)
  • enum iio_backend_capabilities(9)
  • struct iio_backend_ops(9)
  • struct iio_backend_info(9)

like a little friend group. all linked. all iconic. 🌈


and that's the whole page, bestie β€” you ate that. πŸ’–

so this one lives in ./include/linux/iio, it's part of the Kernel API Manual, and it's dated October 2026. slay, see you in the next manpage. πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from