Searched refs:t_fine (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iio/chemical/ |
H A D | bme680_core.c | 354 static int bme680_get_t_fine(struct bme680_data *data, s32 *t_fine) in bme680_get_t_fine() argument 363 *t_fine = bme680_calc_t_fine(data, adc_temp); in bme680_get_t_fine() 407 u32 adc_press, s32 t_fine) in bme680_compensate_press() argument 412 var1 = (t_fine >> 1) - 64000; in bme680_compensate_press() 472 u16 adc_humid, s32 t_fine) in bme680_compensate_humid() argument 477 temp_scaled = (t_fine * 5 + 128) >> 8; in bme680_compensate_humid() 754 s32 t_fine; in bme680_read_press() local 756 ret = bme680_get_t_fine(data, &t_fine); in bme680_read_press() 764 *comp_press = bme680_compensate_press(data, adc_press, t_fine); in bme680_read_press() 772 s32 t_fine; in bme680_read_humid() local [all …]
|
/linux/drivers/iio/pressure/ |
H A D | bmp280-core.c | 429 u16 adc_humidity, s32 t_fine) in bme280_compensate_humidity() argument 434 var = t_fine - (s32)76800; in bme280_compensate_humidity() 488 static int bmp280_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp280_get_t_fine() argument 497 *t_fine = bmp280_calc_t_fine(data, adc_temp); in bmp280_get_t_fine() 537 u32 adc_press, s32 t_fine) in bmp280_compensate_press() argument 542 var1 = ((s64)t_fine) - 128000; in bmp280_compensate_press() 579 s32 t_fine; in bmp280_read_press() local 582 ret = bmp280_get_t_fine(data, &t_fine); in bmp280_read_press() 590 *comp_press = bmp280_compensate_press(data, adc_press, t_fine); in bmp280_read_press() 598 s32 t_fine; in bme280_read_humid() local [all …]
|