Lines Matching refs:sensor_data
100 struct am2315_sensor_data *sensor_data) in am2315_read_data() argument
142 sensor_data->hum_data = (rx_buf[AM2315_HUM_OFFSET] << 8) | in am2315_read_data()
144 sensor_data->temp_data = (rx_buf[AM2315_TEMP_OFFSET] << 8) | in am2315_read_data()
162 struct am2315_sensor_data sensor_data; in am2315_trigger_handler() local
164 ret = am2315_read_data(data, &sensor_data); in am2315_trigger_handler()
170 data->buffer[0] = sensor_data.hum_data; in am2315_trigger_handler()
171 data->buffer[1] = sensor_data.temp_data; in am2315_trigger_handler()
176 data->buffer[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler()
177 sensor_data.hum_data); in am2315_trigger_handler()
195 struct am2315_sensor_data sensor_data; in am2315_read_raw() local
200 ret = am2315_read_data(data, &sensor_data); in am2315_read_raw()
204 sensor_data.hum_data : sensor_data.temp_data; in am2315_read_raw()