Lines Matching refs:ad5064_state

85 struct ad5064_state;
87 typedef int (*ad5064_write_func)(struct ad5064_state *st, unsigned int cmd,
105 struct ad5064_state { struct
192 static int ad5064_write(struct ad5064_state *st, unsigned int cmd, in ad5064_write()
200 static int ad5064_sync_powerdown_mode(struct ad5064_state *st, in ad5064_sync_powerdown_mode()
241 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_get_powerdown_mode()
249 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_set_powerdown_mode()
278 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_read_dac_powerdown()
287 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_write_dac_powerdown()
303 static int ad5064_get_vref(struct ad5064_state *st, in ad5064_get_vref()
321 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_read_raw()
345 struct ad5064_state *st = iio_priv(indio_dev); in ad5064_write_raw()
778 static inline unsigned int ad5064_num_vref(struct ad5064_state *st) in ad5064_num_vref()
790 static const char *ad5064_vref_name(struct ad5064_state *st, in ad5064_vref_name()
796 static int ad5064_set_config(struct ad5064_state *st, unsigned int val) in ad5064_set_config()
812 static int ad5064_request_vref(struct ad5064_state *st, struct device *dev) in ad5064_request_vref()
848 struct ad5064_state *st = data; in ad5064_bulk_reg_disable()
857 struct ad5064_state *st; in ad5064_probe()
905 static int ad5064_spi_write(struct ad5064_state *st, unsigned int cmd, in ad5064_spi_write()
970 static int ad5064_i2c_write(struct ad5064_state *st, unsigned int cmd, in ad5064_i2c_write()