Searched refs:ad5592r_state (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/iio/dac/ |
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
|
D | ad5592r-base.c | 27 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_get() 48 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_set() 64 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_input() 87 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_output() 118 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_request() 129 static int ad5592r_gpio_init(struct ad5592r_state *st) in ad5592r_gpio_init() 151 static void ad5592r_gpio_cleanup(struct ad5592r_state *st) in ad5592r_gpio_cleanup() 157 static int ad5592r_reset(struct ad5592r_state *st) in ad5592r_reset() 181 static int ad5592r_get_vref(struct ad5592r_state *st) in ad5592r_get_vref() 196 static int ad5592r_set_channel_modes(struct ad5592r_state *st) in ad5592r_set_channel_modes() [all …]
|
D | ad5593r.c | 24 static int ad5593r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5593r_write_dac() 32 static int ad5593r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5593r_read_adc() 51 static int ad5593r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5593r_reg_write() 59 static int ad5593r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5593r_reg_read() 73 static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5593r_gpio_read()
|
D | ad5592r.c | 20 static int ad5592r_spi_wnop_r16(struct ad5592r_state *st, __be16 *buf) in ad5592r_spi_wnop_r16() 34 static int ad5592r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5592r_write_dac() 43 static int ad5592r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5592r_read_adc() 71 static int ad5592r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5592r_reg_write() 80 static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5592r_reg_read() 101 static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5593r_gpio_read()
|