Searched refs:dht11 (Results 1 – 3 of 3) sorted by relevance
70 struct dht11 { struct94 static void dht11_edges_print(struct dht11 *dht11) in dht11_edges_print() argument98 dev_dbg(dht11->dev, "%d edges detected:\n", dht11->num_edges); in dht11_edges_print()99 for (i = 1; i < dht11->num_edges; ++i) { in dht11_edges_print()100 dev_dbg(dht11->dev, "%d: %lld ns %s\n", i, 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()121 static int dht11_decode(struct dht11 *dht11, int offset) in dht11_decode() argument128 t = dht11->edges[offset + 2 * i + 2].ts - in dht11_decode()129 dht11->edges[offset + 2 * i + 1].ts; in dht11_decode()[all …]
7 obj-$(CONFIG_DHT11) += dht11.o
4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#19 const: dht1138 compatible = "dht11";