Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/humidity/
Ddht11.c85 int num_edges; member
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()
176 if (dht11->num_edges < DHT11_EDGES_PER_READ && dht11->num_edges >= 0) { in dht11_handle_irq()
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()
181 if (dht11->num_edges >= DHT11_EDGES_PER_READ) in dht11_handle_irq()
216 dht11->num_edges = 0; in dht11_read_raw()
241 if (ret == 0 && dht11->num_edges < DHT11_EDGES_PER_READ - 1) { in dht11_read_raw()
243 dht11->num_edges); in dht11_read_raw()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c5187 u16 num_edges = is2GHz ? in ar9003_hw_get_max_edge_power() local
5193 (edge < num_edges) && (ctl_freqbin[edge] != AR5416_BCHAN_UNUSED); in ar9003_hw_get_max_edge_power()