Home
last modified time | relevance | path

Searched defs:xadc_ops (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dxilinx-xadc.h77 struct xadc_ops { struct
78 int (*read)(struct xadc *xadc, unsigned int reg, uint16_t *val);
79 int (*write)(struct xadc *xadc, unsigned int reg, uint16_t val);
80 int (*setup)(struct platform_device *pdev, struct iio_dev *indio_dev,
82 void (*update_alarm)(struct xadc *xadc, unsigned int alarm);
83 unsigned long (*get_dclk_rate)(struct xadc *xadc);
84 irqreturn_t (*interrupt_handler)(int irq, void *devid);
86 unsigned int flags;
87 enum xadc_type type;