Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/pressure/
Dbmp280-core.c168 s32 t_fine; member
407 var = ((s32)data->t_fine) - (s32)76800; in bmp280_compensate_humidity()
437 data->t_fine = var1 + var2; in bmp280_compensate_temp()
439 return (data->t_fine * 5 + 128) >> 8; in bmp280_compensate_temp()
455 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press()
1044 data->t_fine = (s32) var6; in bmp380_compensate_temp()
1064 var1 = (s64)data->t_fine * (s64)data->t_fine; in bmp380_compensate_press()
1066 var3 = (var2 * ((s64) data->t_fine)) >> 8; in bmp380_compensate_press()
1069 var6 = ((s64)calib->P6 * (s64)data->t_fine) << 22; in bmp380_compensate_press()
1074 ((s64)data->t_fine << 21); in bmp380_compensate_press()
[all …]
/Linux-v6.1/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()