Lines Matching defs:time

51  * the expected sampling time to prevent the drifting.
54 * And because the sleep can't wake up _exactly_ at given time this would be
60 * delayed a lot. Yet, more we reserve the time for polling, more we also lose
62 * value is a balancing dance between severity of wasting CPU time and severity
69 * measurement time, checking the VALID bit and just sleeping again if the bit
72 * Downside is that the time-stamps would be very inaccurate as the wake-up
74 * result 'jumps' in the time-stamps when the delay drifted so that wake-up was
77 * timeout - and when the time-outs were very close to the actual sensor
78 * sampling, Eg. once in a blue moon, two consecutive time-outs would occur
103 * => Max total gain is HWGAIN * gain by integration time (8 * 4096) = 32768
137 * The IC has 5 modes for sampling time. 5 mS mode is exceptional as it limits
145 * the scale is doubled. Eg, time impact to total gain is x1, x2, x4, x8.
212 * Protect gain and time during scale adjustment and data reading.
459 static int bu27034_set_int_time(struct bu27034_data *data, int time)
463 ret = iio_gts_find_sel_by_int_time(&data->gts, time);
472 * We try to change the time in such way that the scale is maintained for
473 * given channels by adjusting gain so that it compensates the time change.
492 dev_err(data->dev, "Unsupported integration time %u\n",
519 "chan %u, can't support time %u with scale %u %u\n",
526 * If caller requests for integration time change and we
593 * Could not support scale with given time. Need to change time.
625 /* Can we provide requested scale with this time? */
637 /* Yes - we found suitable time */
962 * any gain / integration time configuration registers) The bit gets
1201 * Reading one channel at a time is inefficient but we
1308 * Read integration time here to ensure it is in regmap cache. We do
1309 * this to speed-up the int-time acquisition in the start of the buffer
1316 dev_err(data->dev, "reading integration time failed\n");
1380 * The maximum Milli lux value we get with gain 1x time