STRUCT SCA3300_DATA(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms