Searched refs:ltc2688_state (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/dac/ |
H A D | ltc2688.c | 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() [all …]
|