Lines Matching refs:t_fine

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
613 ret = bmp280_get_t_fine(data, &t_fine); in bme280_read_humid()
621 *comp_humidity = bme280_compensate_humidity(data, adc_humidity, t_fine); in bme280_read_humid()
1018 s32 adc_temp, adc_press, t_fine; in bmp280_trigger_handler() local
1047 t_fine = bmp280_calc_t_fine(data, adc_temp); in bmp280_trigger_handler()
1049 data->sensor_data[0] = bmp280_compensate_press(data, adc_press, t_fine); in bmp280_trigger_handler()
1131 s32 adc_temp, adc_press, adc_humidity, t_fine; in bme280_trigger_handler() local
1160 t_fine = bmp280_calc_t_fine(data, adc_temp); in bme280_trigger_handler()
1162 data->sensor_data[0] = bmp280_compensate_press(data, adc_press, t_fine); in bme280_trigger_handler()
1171 data->sensor_data[2] = bme280_compensate_humidity(data, adc_humidity, t_fine); in bme280_trigger_handler()
1312 static int bmp380_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp380_get_t_fine() argument
1321 *t_fine = bmp380_calc_t_fine(data, adc_temp); in bmp380_get_t_fine()
1368 u32 adc_press, s32 t_fine) in bmp380_compensate_press() argument
1374 var1 = (s64)t_fine * (s64)t_fine; in bmp380_compensate_press()
1376 var3 = (var2 * ((s64)t_fine)) >> 8; in bmp380_compensate_press()
1379 var6 = ((s64)calib->P6 * (s64)t_fine) << 22; in bmp380_compensate_press()
1384 ((s64)t_fine << 21); in bmp380_compensate_press()
1388 var2 = (s64)calib->P10 * (s64)t_fine; in bmp380_compensate_press()
1424 u32 adc_press, t_fine; in bmp380_read_press() local
1427 ret = bmp380_get_t_fine(data, &t_fine); in bmp380_read_press()
1435 *comp_press = bmp380_compensate_press(data, adc_press, t_fine); in bmp380_read_press()
1611 s32 adc_temp, adc_press, t_fine; in bmp380_trigger_handler() local
1640 t_fine = bmp380_calc_t_fine(data, adc_temp); in bmp380_trigger_handler()
1642 data->sensor_data[0] = bmp380_compensate_press(data, adc_press, t_fine); in bmp380_trigger_handler()
2395 static int bmp180_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp180_get_t_fine() argument
2404 *t_fine = bmp180_calc_t_fine(data, adc_temp); in bmp180_get_t_fine()
2458 s32 t_fine) in bmp180_compensate_press() argument
2466 b6 = t_fine - 4000; in bmp180_compensate_press()
2491 s32 t_fine; in bmp180_read_press() local
2494 ret = bmp180_get_t_fine(data, &t_fine); in bmp180_read_press()
2502 *comp_press = bmp180_compensate_press(data, adc_press, t_fine); in bmp180_read_press()