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

/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c71 /* num_edges: -1 means "no transmission in progress" */
72 int num_edges; member in struct:dht11
97 for (i = 1; i < dht11->num_edges; ++i) { dht11_decode()
156 if (dht11->num_edges < DHT11_EDGES_PER_READ && dht11->num_edges >= 0) { dht11_handle_irq()
157 dht11->edges[dht11->num_edges].ts = iio_get_time_ns(); dht11_handle_irq()
158 dht11->edges[dht11->num_edges++].value = dht11_handle_irq()
161 if (dht11->num_edges >= DHT11_EDGES_PER_READ) dht11_handle_irq()
179 dht11->num_edges = 0; dht11_read_raw()
199 if (ret == 0 && dht11->num_edges < DHT11_EDGES_PER_READ - 1) { dht11_read_raw()
202 dht11->num_edges); dht11_read_raw()
209 dht11->num_edges == DHT11_EDGES_PER_READ ? dht11_read_raw()
224 dht11->num_edges = -1; dht11_read_raw()
278 dht11->num_edges = -1; dht11_probe()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c5074 u16 num_edges = is2GHz ? ar9003_hw_get_max_edge_power() local
5080 (edge < num_edges) && (ctl_freqbin[edge] != AR5416_BCHAN_UNUSED); ar9003_hw_get_max_edge_power()

Completed in 91 milliseconds