Lines Matching defs:at91_adc_state
193 struct at91_adc_state { struct
194 struct clk *adc_clk;
195 u16 *buffer;
196 unsigned long channels_mask;
197 struct clk *clk;
198 bool done;
199 int irq;
200 u16 last_value;
201 int chnb;
202 struct mutex lock;
203 u8 num_channels;
204 void __iomem *reg_base;
205 struct at91_adc_reg_desc *registers;
206 u32 startup_time;
207 u8 sample_hold_time;
208 bool sleep_mode;
209 struct iio_trigger **trig;
210 struct at91_adc_trigger *trigger_list;
211 u32 trigger_number;
212 bool use_external;
213 u32 vref_mv;
214 u32 res; /* resolution used for convertions */
215 bool low_res; /* the resolution corresponds to the lowest one */
216 wait_queue_head_t wq_data_avail;
217 struct at91_adc_caps *caps;
249 struct at91_adc_state *st = iio_priv(idev); in at91_adc_trigger_handler() argument