Home
last modified time | relevance | path

Searched refs:timeres (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/humidity/
H A Ddht11.c52 * timeres > 34uS ... don't know what a 1-tick pulse is
53 * 34uS > timeres > 30uS ... no problem (30kHz and 32kHz clocks)
54 * 30uS > timeres > 23uS ... don't know what a 2-tick pulse is
55 * timeres < 23uS ... no problem
194 int ret, timeres, offset; in dht11_read_raw() local
198 timeres = ktime_get_resolution_ns(); in dht11_read_raw()
199 dev_dbg(dht11->dev, "current timeresolution: %dns\n", timeres); in dht11_read_raw()
200 if (timeres > DHT11_MIN_TIMERES) { in dht11_read_raw()
202 timeres); in dht11_read_raw()
210 if (timeres > DHT11_AMBIG_LO in dht11_read_raw()
[all...]
/kernel/linux/linux-6.6/drivers/iio/humidity/
H A Ddht11.c51 * timeres > 34uS ... don't know what a 1-tick pulse is
52 * 34uS > timeres > 30uS ... no problem (30kHz and 32kHz clocks)
53 * 30uS > timeres > 23uS ... don't know what a 2-tick pulse is
54 * timeres < 23uS ... no problem
193 int ret, timeres, offset; in dht11_read_raw() local
197 timeres = ktime_get_resolution_ns(); in dht11_read_raw()
198 dev_dbg(dht11->dev, "current timeresolution: %dns\n", timeres); in dht11_read_raw()
199 if (timeres > DHT11_MIN_TIMERES) { in dht11_read_raw()
201 timeres); in dht11_read_raw()
209 if (timeres > DHT11_AMBIG_LO in dht11_read_raw()
[all...]

Completed in 2 milliseconds