Lines Matching refs:temperature
67 data->temperature = 2000 + (dT * data->tempsens) / (1ll << 23); in ms5837_compensate_30()
76 temp_sq = (int64_t)(data->temperature - 2000) * (data->temperature - 2000); in ms5837_compensate_30()
77 if (data->temperature < 2000) { in ms5837_compensate_30()
81 if (data->temperature < -1500) { in ms5837_compensate_30()
82 temp_sq = (data->temperature + 1500) * in ms5837_compensate_30()
83 (data->temperature + 1500); in ms5837_compensate_30()
96 data->temperature -= Ti; in ms5837_compensate_30()
119 data->temperature = 2000 + (dT * data->tempsens) / (1ll << 23); in ms5837_compensate_02()
123 temp_sq = (int64_t)(data->temperature - 2000) * (data->temperature - 2000); in ms5837_compensate_02()
124 if (data->temperature < 2000) { in ms5837_compensate_02()
137 data->temperature -= Ti; in ms5837_compensate_02()
178 val->val1 = data->temperature / 100; in ms5837_channel_get()
179 val->val2 = data->temperature % 100 * 10000; in ms5837_channel_get()
296 data->temperature = 0; in ms5837_init()