Searched refs:ad5592r_state (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/iio/dac/ |
A D | ad5592r-base.h | 18 struct ad5592r_state; 43 int (*write_dac)(struct ad5592r_state *st, unsigned chan, u16 value); 44 int (*read_adc)(struct ad5592r_state *st, unsigned chan, u16 *value); 45 int (*reg_write)(struct ad5592r_state *st, u8 reg, u16 value); 46 int (*reg_read)(struct ad5592r_state *st, u8 reg, u16 *value); 47 int (*gpio_read)(struct ad5592r_state *st, u8 *value); 50 struct ad5592r_state { struct
|
A D | ad5592r-base.c | 26 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_get() 47 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_set() 63 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_input() 86 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_output() 156 static int ad5592r_reset(struct ad5592r_state *st) in ad5592r_reset() 301 struct ad5592r_state *st = iio_priv(iio_dev); in ad5592r_write_raw() 375 struct ad5592r_state *st = iio_priv(iio_dev); in ad5592r_read_raw() 476 struct ad5592r_state *st = iio_priv(iio_dev); in ad5592r_show_scale_available() 509 struct ad5592r_state *st = iio_priv(iio_dev); in ad5592r_alloc_channels() 592 struct ad5592r_state *st; in ad5592r_probe() [all …]
|
A D | ad5592r.c | 19 static int ad5592r_spi_wnop_r16(struct ad5592r_state *st, __be16 *buf) in ad5592r_spi_wnop_r16() 33 static int ad5592r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5592r_write_dac() 42 static int ad5592r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5592r_read_adc() 70 static int ad5592r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5592r_reg_write() 79 static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5592r_reg_read() 100 static int ad5592r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5592r_gpio_read()
|
A D | ad5593r.c | 23 static int ad5593r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5593r_write_dac() 31 static int ad5593r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5593r_read_adc() 50 static int ad5593r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5593r_reg_write() 58 static int ad5593r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5593r_reg_read() 72 static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5593r_gpio_read()
|
Completed in 6 milliseconds