Lines Matching refs:ad7124_state
150 struct ad7124_state { struct
211 static int ad7124_spi_write_mask(struct ad7124_state *st, in ad7124_spi_write_mask()
233 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_set_mode()
243 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_set_channel()
262 static int ad7124_set_channel_odr(struct ad7124_state *st, in ad7124_set_channel_odr()
295 static int ad7124_set_channel_gain(struct ad7124_state *st, in ad7124_set_channel_gain()
315 static int ad7124_get_3db_filter_freq(struct ad7124_state *st, in ad7124_get_3db_filter_freq()
332 static int ad7124_set_3db_filter_freq(struct ad7124_state *st, in ad7124_set_3db_filter_freq()
371 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_read_raw()
421 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_write_raw()
459 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_reg_access()
495 static int ad7124_soft_reset(struct ad7124_state *st) in ad7124_soft_reset()
522 static int ad7124_check_chip_id(struct ad7124_state *st) in ad7124_check_chip_id()
550 static int ad7124_init_channel_vref(struct ad7124_state *st, in ad7124_init_channel_vref()
587 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_of_parse_channel_config()
661 static int ad7124_setup(struct ad7124_state *st) in ad7124_setup()
725 struct ad7124_state *st; in ad7124_probe()
817 struct ad7124_state *st = iio_priv(indio_dev); in ad7124_remove()