Lines Matching refs:t
123 s32 t = *temp, p = *pressure; in ms5611_temp_and_pressure_compensate() local
126 dt = t - (st->prom[5] << 8); in ms5611_temp_and_pressure_compensate()
130 t = 2000 + ((st->prom[6] * dt) >> 23); in ms5611_temp_and_pressure_compensate()
131 if (t < 2000) { in ms5611_temp_and_pressure_compensate()
135 off2 = (5 * (t - 2000) * (t - 2000)) >> 1; in ms5611_temp_and_pressure_compensate()
138 if (t < -1500) { in ms5611_temp_and_pressure_compensate()
139 s64 tmp = (t + 1500) * (t + 1500); in ms5611_temp_and_pressure_compensate()
145 t -= t2; in ms5611_temp_and_pressure_compensate()
150 *temp = t; in ms5611_temp_and_pressure_compensate()
159 s32 t = *temp, p = *pressure; in ms5607_temp_and_pressure_compensate() local
162 dt = t - (st->prom[5] << 8); in ms5607_temp_and_pressure_compensate()
166 t = 2000 + ((st->prom[6] * dt) >> 23); in ms5607_temp_and_pressure_compensate()
167 if (t < 2000) { in ms5607_temp_and_pressure_compensate()
171 tmp = (t - 2000) * (t - 2000); in ms5607_temp_and_pressure_compensate()
175 if (t < -1500) { in ms5607_temp_and_pressure_compensate()
176 tmp = (t + 1500) * (t + 1500); in ms5607_temp_and_pressure_compensate()
181 t -= t2; in ms5607_temp_and_pressure_compensate()
186 *temp = t; in ms5607_temp_and_pressure_compensate()