Lines Matching defs:ad74413r_state
52 struct ad74413r_state { struct
53 struct ad74413r_channel_config channel_configs[AD74413R_CHANNEL_MAX];
54 unsigned int gpo_gpio_offsets[AD74413R_CHANNEL_MAX];
55 unsigned int comp_gpio_offsets[AD74413R_CHANNEL_MAX];
56 struct gpio_chip gpo_gpiochip;
57 struct gpio_chip comp_gpiochip;
58 struct completion adc_data_completion;
59 unsigned int num_gpo_gpios;
60 unsigned int num_comparator_gpios;
61 u32 sense_resistor_ohms;
67 struct mutex lock;
69 const struct ad74413r_chip_info *chip_info;
70 struct spi_device *spi;
71 struct regulator *refin_reg;
72 struct regmap *regmap;
73 struct device *dev;
74 struct iio_trigger *trig;
75 struct gpio_desc *reset_gpio;
77 size_t adc_active_channels;
78 struct spi_message adc_samples_msg;
79 struct spi_transfer adc_samples_xfer[AD74413R_CHANNEL_MAX + 1];
85 struct {
90 u8 adc_samples_tx_buf[AD74413R_FRAME_SIZE * AD74413R_CHANNEL_MAX];
91 u8 reg_tx_buf[AD74413R_FRAME_SIZE];
92 u8 reg_rx_buf[AD74413R_FRAME_SIZE];