Lines Matching refs:sensor_data
150 struct icp10125_sensor_data sensor_data; in icp10125_read_otp() local
169 rc = i2c_read_dt(&cfg->i2c, (uint8_t *)&sensor_data, sizeof(sensor_data)); in icp10125_read_otp()
175 data->sensor_constants[i] = sys_get_be16(sensor_data.data); in icp10125_read_otp()
192 const uint8_t mode, struct icp10125_sensor_data *sensor_data, in icp10125_measure() argument
208 if (i2c_read_dt(i2c, (uint8_t *)sensor_data, sizeof(sensor_data[0]) * data_num) < 0) { in icp10125_measure()
210 rc = i2c_read_dt(i2c, (uint8_t *)sensor_data, sizeof(sensor_data[0]) * data_num); in icp10125_measure()
220 if (!icp10125_check_crc(sensor_data[i].data, SENSOR_DATA_SIZE)) { in icp10125_measure()
235 struct icp10125_sensor_data sensor_data[PRESS_AND_AMBIENT_TEMP_DATA_NUM] = {0}; in icp10125_sample_fetch() local
245 cfg->ambient_temp_mode, sensor_data, AMBIENT_TEMP_DATA_NUM); in icp10125_sample_fetch()
250 data->raw_ambient_temp = sys_get_be16(sensor_data[0].data); in icp10125_sample_fetch()
253 sensor_data, PRESS_AND_AMBIENT_TEMP_DATA_NUM); in icp10125_sample_fetch()
258 endian_conversion[0] = sensor_data[0].data[0]; in icp10125_sample_fetch()
259 endian_conversion[1] = sensor_data[0].data[1]; in icp10125_sample_fetch()
260 endian_conversion[2] = sensor_data[1].data[0]; in icp10125_sample_fetch()
262 data->raw_ambient_temp = sys_get_be16(sensor_data[2].data); in icp10125_sample_fetch()