Searched defs:xadc_ops (Results 1 – 1 of 1) sorted by relevance
77 struct xadc_ops { struct78 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;