STRUCT AD5764_STATE(9)
π struct ad5764_state(9) β the whole vibe
okay so bestie, welcome to the kernel API manual, and today's main character is struct ad5764_state β literally the driver instance specific data π«Ά like it's the little bag of stuff one specific AD5764 driver instance carries around with it, and honestly? iconic.
β¨ NAME β¨
struct ad5764_state β driver instance specific data π
No cap, that's the whole job description: it's the per-instance state blob, one of these per driver instance, and everything it needs lives in here.
πΈ SYNOPSIS πΈ
Look at her. Perfection. Copy it exactly, don't you dare touch a character π
struct ad5764_state {
struct spi_device *spi;
const struct ad5764_chip_info *chip_info;
struct regulator_bulk_data vref_reg[2];
struct mutex lock;
union {
__be32 d32;
u8 d8[4];
} data[2];
};
π¦ Members π¦
spiβ aspi_device, bestie. The SPI device, right there in the struct, living her best life π«Άchip_infoβ chip info β¨ that's it, that's the description, and honestly she ate.vref_regβ vref supply regulators π the supply regulators for vref. Plural energy, we love to see it.lockβ lock to protect the data buffer during SPI ops π₯ this is the security guard for the data buffer while SPI operations are happening. respect her.dataβ spi transfer buffers π the buffers where the SPI transfers actually go down.
π SEE ALSO π
- Kernel file
./drivers/iio/dac/ad5764.cβ go read the actual driver, iykyk π struct ad5764_chip_info(9)β her bestie, her ride-or-die, the chip info struct π
ok real talk, quick vibe check: these are the members and the references, and that's genuinely everything this page gives you. no extra lore, no hidden flags. periodt π
β and that's the page!! this one comes from ./drivers/iio/dac, dated October 2026, and it's struct ad5764_state(9) all the way down π§ mwah, go forth and slay your SPI ops ππΈ
π¦ 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