Home
last modified time | relevance | path

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

/drivers/iio/pressure/
Dbmp280-core.c106 s32 t_fine; member
267 var = ((s32)data->t_fine) - (s32)76800; in bmp280_compensate_humidity()
297 data->t_fine = var1 + var2; in bmp280_compensate_temp()
299 return (data->t_fine * 5 + 128) >> 8; in bmp280_compensate_temp()
315 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press()
801 data->t_fine = x1 + x2; in bmp180_compensate_temp()
803 return (data->t_fine + 8) >> 4; in bmp180_compensate_temp()
861 b6 = data->t_fine - 4000; in bmp180_compensate_press()
/drivers/iio/chemical/
Dbme680_core.c63 s32 t_fine; member
349 data->t_fine = var2 + var3; in bme680_compensate_temp()
350 calc_temp = (data->t_fine * 5 + 128) >> 8; in bme680_compensate_temp()
368 var1 = (data->t_fine >> 1) - 64000; in bme680_compensate_press()
409 temp_scaled = (data->t_fine * 5 + 128) >> 8; in bme680_compensate_humid()