Lines Matching defs:xadc

106 static void xadc_write_reg(struct xadc *xadc, unsigned int reg,  in xadc_write_reg()
112 static void xadc_read_reg(struct xadc *xadc, unsigned int reg, in xadc_read_reg()
128 static void xadc_zynq_write_fifo(struct xadc *xadc, uint32_t *cmd, in xadc_zynq_write_fifo()
137 static void xadc_zynq_drain_fifo(struct xadc *xadc) in xadc_zynq_drain_fifo()
149 static void xadc_zynq_update_intmsk(struct xadc *xadc, unsigned int mask, in xadc_zynq_update_intmsk()
159 static int xadc_zynq_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_write_adc_reg()
193 static int xadc_zynq_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_zynq_read_adc_reg()
248 struct xadc *xadc = container_of(work, struct xadc, zynq_unmask_work.work); in xadc_zynq_unmask_worker() local
282 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_interrupt_handler() local
330 struct xadc *xadc = iio_priv(indio_dev); in xadc_zynq_setup() local
389 static unsigned long xadc_zynq_get_dclk_rate(struct xadc *xadc) in xadc_zynq_get_dclk_rate()
414 static void xadc_zynq_update_alarm(struct xadc *xadc, unsigned int alarm) in xadc_zynq_update_alarm()
443 static int xadc_axi_read_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_axi_read_adc_reg()
454 static int xadc_axi_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_axi_write_adc_reg()
465 struct xadc *xadc = iio_priv(indio_dev); in xadc_axi_setup() local
476 struct xadc *xadc = iio_priv(indio_dev); in xadc_axi_interrupt_handler() local
508 static void xadc_axi_update_alarm(struct xadc *xadc, unsigned int alarm) in xadc_axi_update_alarm()
530 static unsigned long xadc_axi_get_dclk(struct xadc *xadc) in xadc_axi_get_dclk()
545 static int _xadc_update_adc_reg(struct xadc *xadc, unsigned int reg, in _xadc_update_adc_reg()
558 static int xadc_update_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_update_adc_reg()
570 static unsigned long xadc_get_dclk_rate(struct xadc *xadc) in xadc_get_dclk_rate()
578 struct xadc *xadc = iio_priv(indio_dev); in xadc_update_scan_mode() local
623 struct xadc *xadc = iio_priv(indio_dev); in xadc_trigger_handler() local
648 struct xadc *xadc = iio_trigger_get_drvdata(trigger); in xadc_trigger_set_state() local
722 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b()
740 static int xadc_get_seq_mode(struct xadc *xadc, unsigned long scan_mode) in xadc_get_seq_mode()
756 struct xadc *xadc = iio_priv(indio_dev); in xadc_postdisable() local
784 struct xadc *xadc = iio_priv(indio_dev); in xadc_preenable() local
830 struct xadc *xadc = iio_priv(indio_dev); in xadc_read_raw() local
903 struct xadc *xadc = iio_priv(indio_dev); in xadc_write_raw() local
1060 struct xadc *xadc = iio_priv(indio_dev); in xadc_parse_dt() local
1156 struct xadc *xadc; in xadc_probe() local
1313 struct xadc *xadc = iio_priv(indio_dev); in xadc_remove() local