Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/adc/
Dxilinx-xadc.h44 struct xadc { struct
48 const struct xadc_ops *ops; argument
60 enum xadc_external_mux_mode external_mux_mode; argument
78 int (*read)(struct xadc *xadc, unsigned int reg, uint16_t *val); argument
92 static inline int _xadc_read_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_read_adc_reg()
99 static inline int _xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_write_adc_reg()
106 static inline int xadc_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_read_adc_reg()
117 static inline int xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_write_adc_reg()
Dxilinx-xadc-core.c123 static void xadc_write_reg(struct xadc *xadc, unsigned int reg, in xadc_write_reg()
129 static void xadc_read_reg(struct xadc *xadc, unsigned int reg, in xadc_read_reg()
145 static void xadc_zynq_write_fifo(struct xadc *xadc, uint32_t *cmd, in xadc_zynq_write_fifo()
154 static void xadc_zynq_drain_fifo(struct xadc *xadc) in xadc_zynq_drain_fifo()
166 static void xadc_zynq_update_intmsk(struct xadc *xadc, unsigned int mask, in xadc_zynq_update_intmsk()
176 static int xadc_zynq_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_write_adc_reg()
210 static int xadc_zynq_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_read_adc_reg()
265 struct xadc *xadc = container_of(work, struct xadc, zynq_unmask_work.work); in xadc_zynq_unmask_worker() local
299 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_interrupt_handler() local
347 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_setup() local
[all …]
Dxilinx-xadc-events.c117 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_event_config() local
127 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_event_config() local
164 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_event_value() local
189 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_event_value() local