Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/adc/
Dxilinx-xadc.h45 struct xadc { struct
49 const struct xadc_ops *ops; argument
61 enum xadc_external_mux_mode external_mux_mode; argument
75 int (*read)(struct xadc *xadc, unsigned int reg, uint16_t *val); argument
86 static inline int _xadc_read_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_read_adc_reg()
93 static inline int _xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_write_adc_reg()
100 static inline int xadc_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_read_adc_reg()
111 static inline int xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_write_adc_reg()
Dxilinx-xadc-core.c116 static void xadc_write_reg(struct xadc *xadc, unsigned int reg, in xadc_write_reg()
122 static void xadc_read_reg(struct xadc *xadc, unsigned int reg, in xadc_read_reg()
138 static void xadc_zynq_write_fifo(struct xadc *xadc, uint32_t *cmd, in xadc_zynq_write_fifo()
147 static void xadc_zynq_drain_fifo(struct xadc *xadc) in xadc_zynq_drain_fifo()
159 static void xadc_zynq_update_intmsk(struct xadc *xadc, unsigned int mask, in xadc_zynq_update_intmsk()
169 static int xadc_zynq_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_write_adc_reg()
203 static int xadc_zynq_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_read_adc_reg()
258 struct xadc *xadc = container_of(work, struct xadc, zynq_unmask_work.work); in xadc_zynq_unmask_worker() local
292 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_interrupt_handler() local
340 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_setup() local
[all …]
Dxilinx-xadc-events.c118 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_event_config() local
128 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_event_config() local
168 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_event_value() local
192 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_event_value() local