STRUCT SCA3300_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is struct sca3300_data(9) from the Kernel API Manual β€” title and manual name folded in near the top like a lil ribbon πŸŽ€. The NAME vibe is literally struct sca3300_data β€” device data, and that's the whole tea β˜•. lowkey iconic.

✨ SYNOPSIS ✨

vibe check: highkey it's a struct, and here it is in all its main-character glory πŸ‘‘

struct sca3300_data {
    struct spi_device *spi;
    struct mutex lock;
    const struct sca3300_chip_info *chip;
    u8 txbuf[4];
    u8 rxbuf[4];
 };

🫢 Members 🫢

the way that this struct has its whole roster listed below? obsessed. here's the lineup:

  • spi β€” the SPI device structure, literally the device's SPI situation.
  • lock β€” the Data buffer lock, no cap, that's its whole label.
  • chip β€” Sensor chip specific information, aka the chip-specific lore 🧚.
  • txbuf β€” the Transmit buffer, periodt.
  • rxbuf β€” the Receive buffer, periodt.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/iio/accel/sca3300.c β€” not me pointing you to the source, but also yes bestie, go read it, iykyk πŸ”₯.

mwah πŸ’– this page lives under ./drivers/iio/accel, it's dated October 2026, and it's serving struct sca3300_data(9). periodt πŸ’…

πŸ“¦ where this page comes from