Searched refs:t_fine (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/iio/pressure/ |
D | bmp280-core.c | 441 u16 adc_humidity, s32 t_fine) in bme280_compensate_humidity() argument 446 var = t_fine - (s32)76800; in bme280_compensate_humidity() 500 static int bmp280_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp280_get_t_fine() argument 509 *t_fine = bmp280_calc_t_fine(data, adc_temp); in bmp280_get_t_fine() 549 u32 adc_press, s32 t_fine) in bmp280_compensate_press() argument 554 var1 = ((s64)t_fine) - 128000; in bmp280_compensate_press() 591 s32 t_fine; in bmp280_read_press() local 594 ret = bmp280_get_t_fine(data, &t_fine); in bmp280_read_press() 602 *comp_press = bmp280_compensate_press(data, adc_press, t_fine); in bmp280_read_press() 610 s32 t_fine; in bme280_read_humid() local [all …]
|
/linux-6.12.1/drivers/iio/chemical/ |
D | bme680_core.c | 283 static int bme680_get_t_fine(struct bme680_data *data, s32 *t_fine) in bme680_get_t_fine() argument 292 *t_fine = bme680_calc_t_fine(data, adc_temp); in bme680_get_t_fine() 336 u32 adc_press, s32 t_fine) in bme680_compensate_press() argument 341 var1 = (t_fine >> 1) - 64000; in bme680_compensate_press() 401 u16 adc_humid, s32 t_fine) in bme680_compensate_humid() argument 406 temp_scaled = (t_fine * 5 + 128) >> 8; in bme680_compensate_humid() 672 s32 t_fine; in bme680_read_press() local 674 ret = bme680_get_t_fine(data, &t_fine); in bme680_read_press() 682 *val = bme680_compensate_press(data, adc_press, t_fine); in bme680_read_press() 692 s32 t_fine; in bme680_read_humid() local [all …]
|