Lines Matching defs:xadc
116 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
399 static unsigned long xadc_zynq_get_dclk_rate(struct xadc *xadc) in xadc_zynq_get_dclk_rate()
424 static void xadc_zynq_update_alarm(struct xadc *xadc, unsigned int alarm) in xadc_zynq_update_alarm()
453 static int xadc_axi_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_axi_read_adc_reg()
464 static int xadc_axi_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_axi_write_adc_reg()
475 struct xadc *xadc = iio_priv(indio_dev); in xadc_axi_setup() local
486 struct xadc *xadc = iio_priv(indio_dev); in xadc_axi_interrupt_handler() local
518 static void xadc_axi_update_alarm(struct xadc *xadc, unsigned int alarm) in xadc_axi_update_alarm()
540 static unsigned long xadc_axi_get_dclk(struct xadc *xadc) in xadc_axi_get_dclk()
555 static int _xadc_update_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_update_adc_reg()
568 static int xadc_update_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_update_adc_reg()
580 static unsigned long xadc_get_dclk_rate(struct xadc *xadc) in xadc_get_dclk_rate()
588 struct xadc *xadc = iio_priv(indio_dev); in xadc_update_scan_mode() local
633 struct xadc *xadc = iio_priv(indio_dev); in xadc_trigger_handler() local
658 struct xadc *xadc = iio_trigger_get_drvdata(trigger); in xadc_trigger_set_state() local
732 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b()
751 static int xadc_get_seq_mode(struct xadc *xadc, unsigned long scan_mode) in xadc_get_seq_mode()
767 struct xadc *xadc = iio_priv(indio_dev); in xadc_postdisable() local
795 struct xadc *xadc = iio_priv(indio_dev); in xadc_preenable() local
848 static int xadc_read_samplerate(struct xadc *xadc) in xadc_read_samplerate()
868 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_raw() local
932 static int xadc_write_samplerate(struct xadc *xadc, int val) in xadc_write_samplerate()
972 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_raw() local
1098 struct xadc *xadc = iio_priv(indio_dev); in xadc_parse_dt() local
1194 struct xadc *xadc; in xadc_probe() local
1367 struct xadc *xadc = iio_priv(indio_dev); in xadc_remove() local