Lines Matching refs:ad7124_state

167 struct ad7124_state {  struct
230 static int ad7124_spi_write_mask(struct ad7124_state *st, in ad7124_spi_write_mask()
252 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_set_mode()
260 static void ad7124_set_channel_odr(struct ad7124_state *st, unsigned int channel, unsigned int odr) in ad7124_set_channel_odr()
286 static int ad7124_get_3db_filter_freq(struct ad7124_state *st, in ad7124_get_3db_filter_freq()
303 static void ad7124_set_3db_filter_freq(struct ad7124_state *st, unsigned int channel, in ad7124_set_3db_filter_freq()
329 static struct ad7124_channel_config *ad7124_find_similar_live_cfg(struct ad7124_state *st, in ad7124_find_similar_live_cfg()
347 static int ad7124_find_free_config_slot(struct ad7124_state *st) in ad7124_find_free_config_slot()
358 static int ad7124_init_config_vref(struct ad7124_state *st, struct ad7124_channel_config *cfg) in ad7124_init_config_vref()
388 static int ad7124_write_config(struct ad7124_state *st, struct ad7124_channel_config *cfg, in ad7124_write_config()
419 static struct ad7124_channel_config *ad7124_pop_config(struct ad7124_state *st) in ad7124_pop_config()
450 static int ad7124_push_config(struct ad7124_state *st, struct ad7124_channel_config *cfg) in ad7124_push_config()
476 static int ad7124_enable_channel(struct ad7124_state *st, struct ad7124_channel *ch) in ad7124_enable_channel()
483 static int ad7124_prepare_read(struct ad7124_state *st, int address) in ad7124_prepare_read()
507 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in __ad7124_set_channel()
514 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_set_channel()
526 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_append_status()
544 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_disable_all()
575 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_read_raw()
633 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_write_raw()
690 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_reg_access()
721 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_update_scan_mode()
755 static int ad7124_soft_reset(struct ad7124_state *st) in ad7124_soft_reset()
782 static int ad7124_check_chip_id(struct ad7124_state *st) in ad7124_check_chip_id()
813 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_of_parse_channel_config()
889 static int ad7124_setup(struct ad7124_state *st) in ad7124_setup()
942 struct ad7124_state *st; in ad7124_probe()