STRUCT AD5064_CHIP_INFO(9)
β¨ NAME β¨
struct ad5064_chip_info β the lil info card that tells you what a specific chip is like π
So basically, this system is the Kernel API Manual bestie, and every chip gets its own little personality sheet. Let's get into it π«Ά
π SYNOPSIS π
struct ad5064_chip_info {
bool shared_vref;
unsigned long internal_vref;
const struct iio_chan_spec *channels;
unsigned int num_channels;
enum ad5064_regmap_type regmap_type;
};
Like, that's the whole struct, no cap. Five fields, all of them important, none of them filler π
π MEMBERS π
shared_vrefβ aboolthat answers the question "is the vref supply shared between the channels?" Like, do all the channels have to share one vibe or does each one get its own β¨internal_vrefβ anunsigned longholding the internal reference voltage. And listen: it's0if the chip has no internal vref. Zero means "nope, not here", not "zero volts", so don't get it twisted πchannelsβ aconst struct iio_chan_spec *pointing at the channel specification. It's giving main character pointer energy πnum_channelsβ anunsigned int, and it's literally just the number of channels. That's it. That's the field πregmap_typeβ anenum ad5064_regmap_type, which is the register map layout variant. Different chips, different layouts, iykyk πΈ
π SEE ALSO π
- Kernel file
./drivers/iio/dac/ad5064.c enum ad5064_regmap_type(9)struct ad5064_state(9)
ok bestie real talk: this page lives in./drivers/iio/dacand it's dated October 2026, and the whole thing is filed understruct ad5064_chip_info(9)in theKernel API Manual. Go read the source, it ate ππ₯
That's the whole page, periodt. Now go forth and read your chip info sheets ππ§ββοΈ
π¦ 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