Lines Matching refs:ltc2688_state
84 struct ltc2688_state { struct
103 struct ltc2688_state *st = context; in ltc2688_spi_read() argument
132 struct ltc2688_state *st = context; in ltc2688_spi_write()
137 static int ltc2688_span_get(const struct ltc2688_state *st, int c) in ltc2688_span_get()
157 static int ltc2688_scale_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_scale_get()
175 static int ltc2688_offset_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_offset_get()
199 static int ltc2688_dac_code_write(struct ltc2688_state *st, u32 chan, u32 input, in ltc2688_dac_code_write()
235 static int ltc2688_dac_code_read(struct ltc2688_state *st, u32 chan, u32 input, in ltc2688_dac_code_read()
278 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_read_raw()
326 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_write_raw()
355 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_toggle_set()
382 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_bool_get()
398 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_bool_set()
414 static ssize_t ltc2688_dither_freq_avail(const struct ltc2688_state *st, in ltc2688_dither_freq_avail()
434 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_freq_get()
459 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_freq_set()
495 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dac_input_read()
519 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dac_input_write()
540 struct ltc2688_state *st = iio_priv(dev); in ltc2688_get_dither_phase()
555 struct ltc2688_state *st = iio_priv(dev); in ltc2688_set_dither_phase()
568 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_access()
701 static int ltc2688_tgp_clk_setup(struct ltc2688_state *st, in ltc2688_tgp_clk_setup()
733 static int ltc2688_span_lookup(const struct ltc2688_state *st, int min, int max) in ltc2688_span_lookup()
746 static int ltc2688_channel_config(struct ltc2688_state *st) in ltc2688_channel_config()
845 static int ltc2688_setup(struct ltc2688_state *st, struct regulator *vref) in ltc2688_setup()
948 struct ltc2688_state *st; in ltc2688_probe()