Lines Matching defs:tsc2046_adc_priv
141 struct tsc2046_adc_priv { struct
142 struct spi_device *spi;
143 const struct tsc2046_adc_dcfg *dcfg;
144 struct regulator *vref_reg;
146 struct iio_trigger *trig;
147 struct hrtimer trig_timer;
148 enum tsc2046_state state;
149 int poll_cnt;
150 spinlock_t state_lock;
152 struct spi_transfer xfer;
153 struct spi_message msg;
155 struct {
160 } scan_buf;
168 struct mutex slock;
169 struct tsc2046_adc_group_layout l[TI_TSC2046_MAX_CHAN];
170 struct tsc2046_adc_atom *rx;
171 struct tsc2046_adc_atom *tx;
173 unsigned int count;
174 unsigned int groups;
175 u32 effective_speed_hz;
176 u32 scan_interval_us;
177 u32 time_per_scan_us;
178 u32 time_per_bit_ns;
179 unsigned int vref_mv;
181 struct tsc2046_adc_ch_cfg ch_cfg[TI_TSC2046_MAX_CHAN];