STRUCT CPCAP_ADC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

hey bestie πŸ’– this is the struct cpcap_adc(9) page from the Kernel API Manual, and the actual name situash is:

struct cpcap_adc - cpcap adc device driver data.

🌸 SYNOPSIS 🌸

okay so here’s the struct in all its exact-character glory β€” every field, every type, no renaming, no merging, no invented lore:

struct cpcap_adc {
    struct regmap *reg;
    struct device *dev;
    u16 vendor;
    int irq;
    struct mutex lock;
    const struct cpcap_adc_ato *ato;
    wait_queue_head_t wq_data_avail;
    bool done;
 };

πŸ’… Members πŸ’…

  • reg β€” cpcap regmap. the regmap in question, no extra notes.
  • dev β€” struct device. the device bestie.
  • vendor β€” cpcap vendor. cpcap said vendor rights.
  • irq β€” interrupt. she will interrupt you.
  • lock β€” mutex. the mutex lock, the moment.
  • ato β€” request timings. timing is everything.
  • wq_data_avail β€” work queue. the queue for the work.
  • done β€” work done. when it’s done it’s done.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/iio/adc/cpcap-adc.c β€” struct cpcap_adc_phasing_tbl(9), struct cpcap_adc_conversion_tbl(9), struct cpcap_adc_request(9).

okay bestie, that’s the whole page πŸ’– source/version ./drivers/iio/adc, date October 2026, page struct cpcap_adc(9) β€” now go forth and be iconic with your kernel structs 🫢✨

πŸ“¦ where this page comes from