STRUCT AD5624R_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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