STRUCT ADIS16130_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

struct adis16130_state β€” the device instance specific data, bestie πŸ’…


✨ SYNOPSIS ✨

struct adis16130_state {
    struct spi_device               *us;
    struct mutex                    buf_lock;
    u8 buf[4];
 };

πŸŽ€ Members πŸŽ€

  • us β€” the actual spi_device you write data to, no cap 🫢
  • buf_lock β€” a mutex whose whole job is protecting tx and rx, iconic behavior honestly πŸ”₯
  • buf β€” your unified tx/rx buffer, living its little main character life πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/iio/gyro/adis16130.c β€” go read it, iykyk πŸ“–βœ¨


okay that’s the whole struct, she’s small but she’s doing her thing πŸ’–

signing off from ./drivers/iio/gyro, October 2026 β€” mwah, slay, periodt πŸŽ€πŸ’…

πŸ“¦ where this page comes from