STRUCT AD5624R_STATE(9)
π
struct ad5624r_state(9) π
okay so welcome to the Kernel API Manual, bestie π this page is literally about driver instance specific data, and the whole vibe is βhereβs the struct that holds that data.β no cap.
β¨ NAME β¨
struct ad5624r_state β driver instance specific data. periodt.
πΈ SYNOPSIS πΈ
hereβs the exact struct, not me changing a single character:
struct ad5624r_state {
struct spi_device *us;
const struct ad5624r_chip_info *chip_info;
unsigned short vref_mv;
unsigned pwr_down_mask;
unsigned pwr_down_mode;
};
π«Ά Members π«Ά
usβspi_device.chip_infoβ chip model specific constants, available modes etc.vref_mvβ actual reference voltage used.pwr_down_maskβ power down mask.pwr_down_modeβ current power down mode.
these are the members, bestie β the little pieces that make the struct make sense π¦
π« SEE ALSO π«
- Kernel file
./drivers/iio/dac/ad5624r.h struct ad5624r_chip_info(9)
go peek at those if you want the full lore π₯
signed off with love from ./drivers/iio/dac, dated October 2026, for struct ad5624r_state(9) π«Άβ¨
π¦ 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