Searched refs:ad5592r_state (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/iio/dac/ |
D | ad5592r-base.h | 20 struct ad5592r_state; 45 int (*write_dac)(struct ad5592r_state *st, unsigned chan, u16 value); 46 int (*read_adc)(struct ad5592r_state *st, unsigned chan, u16 *value); 47 int (*reg_write)(struct ad5592r_state *st, u8 reg, u16 value); 48 int (*reg_read)(struct ad5592r_state *st, u8 reg, u16 *value); 49 int (*gpio_read)(struct ad5592r_state *st, u8 *value); 52 struct ad5592r_state { struct
|
D | ad5592r-base.c | 25 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_get() 46 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_set() 62 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_input() 85 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_output() 116 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_request() 131 static int ad5592r_gpio_init(struct ad5592r_state *st) in ad5592r_gpio_init() 154 static void ad5592r_gpio_cleanup(struct ad5592r_state *st) in ad5592r_gpio_cleanup() 160 static int ad5592r_reset(struct ad5592r_state *st) in ad5592r_reset() 183 static int ad5592r_get_vref(struct ad5592r_state *st) in ad5592r_get_vref() 198 static int ad5592r_set_channel_modes(struct ad5592r_state *st) in ad5592r_set_channel_modes() [all …]
|
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()
|
D | ad5593r.c | 43 static int ad5593r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5593r_write_dac() 51 static int ad5593r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5593r_read_adc() 64 static int ad5593r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5593r_reg_write() 72 static int ad5593r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5593r_reg_read() 79 static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5593r_gpio_read()
|