Lines Matching refs:ads1298_private
101 struct ads1298_private { struct
170 static int ads1298_write_cmd(struct ads1298_private *priv, u8 command) in ads1298_write_cmd()
188 static int ads1298_read_one(struct ads1298_private *priv, int chan_index) in ads1298_read_one()
221 static int ads1298_get_samp_freq(struct ads1298_private *priv, int *val) in ads1298_get_samp_freq()
249 static int ads1298_set_samp_freq(struct ads1298_private *priv, int val) in ads1298_set_samp_freq()
279 static int ads1298_get_scale(struct ads1298_private *priv, in ads1298_get_scale()
317 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_read_raw()
356 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_write_raw()
368 struct ads1298_private *priv = context; in ads1298_reg_write()
389 struct ads1298_private *priv = context; in ads1298_reg_read()
418 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_reg_access()
426 static void ads1298_rdata_unmark_busy(struct ads1298_private *priv) in ads1298_rdata_unmark_busy()
436 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_update_scan_mode()
463 static void ads1298_rdata_release_busy_or_restart(struct ads1298_private *priv) in ads1298_rdata_release_busy_or_restart()
490 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_rdata_complete()
522 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_interrupt()
537 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_buffer_postenable()
551 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_buffer_predisable()
587 struct ads1298_private *priv = iio_priv(indio_dev); in ads1298_init()
641 struct ads1298_private *priv; in ads1298_probe()