STRUCT ADIS16080_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this page is from the Kernel API Manual, and it's all about struct adis16080_state β€” the official vibe is literally device instance specific data 🫢. it's giving "one struct for the per-device tea," and we're about to go through its members, no cap.

🌈 SYNOPSIS 🌈

here's the exact shape of it, character for character:

       struct adis16080_state {
           struct spi_device               *us;
           const struct adis16080_chip_info *info;
           struct mutex                    lock;
           __be16 buf;
        };

πŸŽ€ Members πŸŽ€

  • us β€” the actual spi_device to write data πŸ’…
  • info β€” chip specific parameters, iykyk
  • lock β€” lock to protect buffer during reads, periodt
  • buf β€” transmit or receive buffer

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/iio/gyro/adis16080.c β€” go peek at the source, bestie πŸ”₯

okay that's the whole manual page! source/version: ./drivers/iio/gyro, dated October 2026, and it's literally the struct adis16080_state(9) page from the Kernel API Manual. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from