Lines Matching refs:sensor_data
103 struct am2315_sensor_data *sensor_data) in am2315_read_data() argument
145 sensor_data->hum_data = (rx_buf[AM2315_HUM_OFFSET] << 8) | in am2315_read_data()
147 sensor_data->temp_data = (rx_buf[AM2315_TEMP_OFFSET] << 8) | in am2315_read_data()
165 struct am2315_sensor_data sensor_data; in am2315_trigger_handler() local
167 ret = am2315_read_data(data, &sensor_data); in am2315_trigger_handler()
173 data->scan.chans[0] = sensor_data.hum_data; in am2315_trigger_handler()
174 data->scan.chans[1] = sensor_data.temp_data; in am2315_trigger_handler()
179 data->scan.chans[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler()
180 sensor_data.hum_data); in am2315_trigger_handler()
198 struct am2315_sensor_data sensor_data; in am2315_read_raw() local
203 ret = am2315_read_data(data, &sensor_data); in am2315_read_raw()
207 sensor_data.hum_data : sensor_data.temp_data; in am2315_read_raw()