Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A 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;
88 int temp_scale;
[all …]
/openbmc/qemu/hw/adc/
H A Dzynq-xadc.c251 static const MemoryRegionOps xadc_ops = { variable