Lines Matching defs:ad7606_state
91 struct ad7606_state { struct
92 struct device *dev;
93 const struct ad7606_chip_info *chip_info;
94 const struct ad7606_bus_ops *bops;
95 unsigned int range[16];
96 unsigned int oversampling;
97 void __iomem *base_address;
98 bool sw_mode_en;
99 const unsigned int *scale_avail;
100 unsigned int num_scales;
101 const unsigned int *oversampling_avail;
102 unsigned int num_os_ratios;
103 int (*write_scale)(struct iio_dev *indio_dev, int ch, int val);
104 int (*write_os)(struct iio_dev *indio_dev, int val);
106 struct mutex lock; /* protect sensor state */
107 struct gpio_desc *gpio_convst;
108 struct gpio_desc *gpio_reset;
109 struct gpio_desc *gpio_range;
110 struct gpio_desc *gpio_standby;
111 struct gpio_desc *gpio_frstdata;
112 struct gpio_descs *gpio_os;
113 struct iio_trigger *trig;
114 struct completion completion;
139 int (*reg_read)(struct ad7606_state *st, unsigned int addr); argument