Home
last modified time | relevance | path

Searched refs:DHT11_EDGES_PER_READ (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/humidity/
H A Ddht11.c39 #define DHT11_EDGES_PER_READ (2 * DHT11_BITS_PER_READ + \ macro
86 struct {s64 ts; int value; } edges[DHT11_EDGES_PER_READ];
176 if (dht11->num_edges < DHT11_EDGES_PER_READ && dht11->num_edges >= 0) { in dht11_handle_irq()
181 if (dht11->num_edges >= DHT11_EDGES_PER_READ) in dht11_handle_irq()
241 if (ret == 0 && dht11->num_edges < DHT11_EDGES_PER_READ - 1) { in dht11_read_raw()
250 dht11->num_edges - DHT11_EDGES_PER_READ; in dht11_read_raw()