Lines Matching full:edges
36 * Note that when reading the sensor actually 84 edges are detected, but
86 struct {s64 ts; int value; } edges[DHT11_EDGES_PER_READ]; member
98 dev_dbg(dht11->dev, "%d edges detected:\n", dht11->num_edges); in dht11_edges_print()
101 dht11->edges[i].ts - dht11->edges[i - 1].ts, in dht11_edges_print()
102 dht11->edges[i - 1].value ? "high" : "low"); in dht11_edges_print()
128 t = dht11->edges[offset + 2 * i + 2].ts - in dht11_decode()
129 dht11->edges[offset + 2 * i + 1].ts; in dht11_decode()
130 if (!dht11->edges[offset + 2 * i + 1].value) { in dht11_decode()
169 * IRQ handler called on GPIO edges
177 dht11->edges[dht11->num_edges].ts = ktime_get_boottime_ns(); in dht11_handle_irq()
178 dht11->edges[dht11->num_edges++].value = in dht11_handle_irq()
242 dev_err(dht11->dev, "Only %d signal edges detected\n", in dht11_read_raw()