Searched full:dht11 (Results 1 – 8 of 8) sorted by relevance
| /kernel/linux/linux-5.10/drivers/iio/humidity/ |
| D | dht11.c | 3 * DHT11/DHT22 bit banging GPIO driver 30 #define DRIVER_NAME "dht11" 71 struct dht11 { struct 95 static void dht11_edges_print(struct dht11 *dht11) in dht11_edges_print() argument 99 dev_dbg(dht11->dev, "%d edges detected:\n", dht11->num_edges); in dht11_edges_print() 100 for (i = 1; i < dht11->num_edges; ++i) { in dht11_edges_print() 101 dev_dbg(dht11->dev, "%d: %lld ns %s\n", i, in dht11_edges_print() 102 dht11->edges[i].ts - dht11->edges[i - 1].ts, in dht11_edges_print() 103 dht11->edges[i - 1].value ? "high" : "low"); in dht11_edges_print() 122 static int dht11_decode(struct dht11 *dht11, int offset) in dht11_decode() argument [all …]
|
| D | Kconfig | 19 config DHT11 config 20 tristate "DHT11 (and compatible sensors) driver" 24 generating GPIO line. Currently tested are DHT11 and DHT22.
|
| D | Makefile | 7 obj-$(CONFIG_DHT11) += dht11.o
|
| /kernel/linux/linux-6.6/drivers/iio/humidity/ |
| D | dht11.c | 3 * DHT11/DHT22 bit banging GPIO driver 29 #define DRIVER_NAME "dht11" 70 struct dht11 { struct 94 static void dht11_edges_print(struct dht11 *dht11) in dht11_edges_print() argument 98 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() argument [all …]
|
| D | Kconfig | 19 config DHT11 config 20 tristate "DHT11 (and compatible sensors) driver" 24 generating GPIO line. Currently tested are DHT11 and DHT22.
|
| D | Makefile | 7 obj-$(CONFIG_DHT11) += dht11.o
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/humidity/ |
| D | dht11.yaml | 4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml# 7 title: DHT11 humidity + temperature sensor 19 const: dht11 38 compatible = "dht11";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/humidity/ |
| D | dht11.txt | 1 * DHT11 humidity/temperature sensor (and compatibles like DHT22) 4 - compatible: Should be "dht11" 12 compatible = "dht11";
|