Lines Matching refs:sample
34 #define TS_POLL_DELAY (1 * 1000000) /* ns delay before the first sample */
37 /* this driver doesn't aim at the peak continuous sample rate */
38 #define SAMPLE_BITS (8 /*cmd*/ + 16 /*sample*/ + 2 /* before, after */)
183 __be16 sample;
191 u8 sample[3];
235 /* take sample */
241 req->xfer[3].rx_buf = &req->sample;
266 status = be16_to_cpu(req->sample);
289 req->xfer[0].rx_buf = req->sample;
301 status = be16_to_cpu(*((u16 *)&req->sample[1]));
326 * ADS7846 could use the low-accuracy two-sample scheme, but can't do the high
668 * the whole sample, repeat it in the next sampling
933 /* don't exceed max specified sample rate */
935 dev_dbg(&spi->dev, "f(sample) %d KHz?\n",
1065 /* the first sample after switching drivers can be low quality;
1112 /* ... maybe discard first sample ... */
1146 /* ... maybe discard first sample ... */
1178 /* ... maybe discard first sample ... */
1265 /* take a first sample, leaving nPENIRQ active and vREF off; avoid