Home
last modified time | relevance | path

Searched refs:sens2 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iio/pressure/
H A Dms5611_core.c132 s64 off2, sens2, t2; in ms5611_temp_and_pressure_compensate() local
136 sens2 = off2 >> 1; in ms5611_temp_and_pressure_compensate()
142 sens2 += (11 * tmp) >> 1; in ms5611_temp_and_pressure_compensate()
147 sens -= sens2; in ms5611_temp_and_pressure_compensate()
168 s64 off2, sens2, t2, tmp; in ms5607_temp_and_pressure_compensate() local
173 sens2 = tmp << 1; in ms5607_temp_and_pressure_compensate()
178 sens2 += 8 * tmp; in ms5607_temp_and_pressure_compensate()
183 sens -= sens2; in ms5607_temp_and_pressure_compensate()
/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c625 s64 off, sens, t2, off2, sens2; in ms_sensors_read_temp_and_pressure() local
663 sens2 = (29 * tmp * tmp) >> 4; in ms_sensors_read_temp_and_pressure()
669 sens2 += 9 * tmp * tmp; in ms_sensors_read_temp_and_pressure()
674 sens2 = 0; in ms_sensors_read_temp_and_pressure()
683 sens -= sens2; in ms_sensors_read_temp_and_pressure()