Lines Matching defs:ad7606_state
141 struct ad7606_state { struct
142 struct device *dev;
143 const struct ad7606_chip_info *chip_info;
144 const struct ad7606_bus_ops *bops;
145 struct ad7606_chan_info chan_info[AD760X_MAX_CHANNELS];
146 unsigned int oversampling;
147 struct pwm_device *cnvst_pwm;
148 void __iomem *base_address;
149 bool sw_mode_en;
150 const unsigned int *oversampling_avail;
151 unsigned int num_os_ratios;
152 struct iio_backend *back;
153 int (*write_scale)(struct iio_dev *indio_dev, int ch, int val);
154 int (*write_os)(struct iio_dev *indio_dev, int val);
156 struct mutex lock; /* protect sensor state */
157 struct gpio_desc *gpio_convst;
158 struct gpio_desc *gpio_reset;
159 struct gpio_desc *gpio_range;
160 struct gpio_desc *gpio_standby;
161 struct gpio_desc *gpio_frstdata;
162 struct gpio_descs *gpio_os;
163 struct iio_trigger *trig;
164 struct completion completion;
166 bool offload_en;
167 void *bus_data;
175 struct {
182 __be16 d16[2];