Lines Matching defs:st
103 struct ltc2688_state *st = context; in ltc2688_spi_read() local
132 struct ltc2688_state *st = context; in ltc2688_spi_write() local
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() local
326 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_write_raw() local
355 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_toggle_set() local
382 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_bool_get() local
398 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_bool_set() local
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() local
459 const struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_freq_set() local
495 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dac_input_read() local
519 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dac_input_write() local
540 struct ltc2688_state *st = iio_priv(dev); in ltc2688_get_dither_phase() local
555 struct ltc2688_state *st = iio_priv(dev); in ltc2688_set_dither_phase() local
568 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_reg_access() local
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()
857 static int ltc2688_setup(struct ltc2688_state *st, struct regulator *vref) in ltc2688_setup()
961 struct ltc2688_state *st; in ltc2688_probe() local