Lines Matching full:samples
156 * We measure X/Y with 'sample_count' number of samples and execute a in imx25_setup_queue_4wire()
238 unsigned int samples) in mx25_tcq_create_event_for_4wire() argument
246 for (i = 0; i < samples; i++) { in mx25_tcq_create_event_for_4wire()
264 dev_dbg(priv->dev, "Dropped samples because of invalid index %d\n", in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
277 /* valid samples, generate a report */ in mx25_tcq_create_event_for_4wire()
290 * if both samples are invalid, in mx25_tcq_create_event_for_4wire()
300 * happens. Take additional samples in this in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
317 * Check how many samples are available. We always have to read exactly in mx25_tcq_irq_thread()
318 * sample_count samples from the fifo, or a multiple of sample_count. in mx25_tcq_irq_thread()
319 * Otherwise we mixup samples into different touch events. in mx25_tcq_irq_thread()
322 samples = MX25_ADCQ_SR_FDN(stats); in mx25_tcq_irq_thread()
323 samples -= samples % priv->sample_count; in mx25_tcq_irq_thread()
325 if (!samples) in mx25_tcq_irq_thread()
328 for (i = 0; i != samples; ++i) in mx25_tcq_irq_thread()
331 mx25_tcq_create_event_for_4wire(priv, sample_buf, samples); in mx25_tcq_irq_thread()