Home
last modified time | relevance | path

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

/drivers/iio/pressure/
Dbmp280-core.c310 s32 adc_press) in bmp280_compensate_press() argument
326 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
373 s32 adc_press; in bmp280_read_press() local
387 adc_press = be32_to_cpu(tmp) >> 12; in bmp280_read_press()
388 if (adc_press == BMP280_PRESS_SKIPPED) { in bmp280_read_press()
393 comp_press = bmp280_compensate_press(data, adc_press); in bmp280_read_press()
853 static u32 bmp180_compensate_press(struct bmp280_data *data, s32 adc_press) in bmp180_compensate_press() argument
870 b7 = ((u32)adc_press - b3) * (50000 >> oss); in bmp180_compensate_press()
887 s32 adc_press; in bmp180_read_press() local
895 ret = bmp180_read_adc_press(data, &adc_press); in bmp180_read_press()
[all …]
/drivers/iio/chemical/
Dbme680_core.c363 u32 adc_press) in bme680_compensate_press() argument
377 press_comp = 1048576 - adc_press; in bme680_compensate_press()
659 s32 adc_press; in bme680_read_press() local
673 adc_press = be32_to_cpu(tmp) >> 12; in bme680_read_press()
674 if (adc_press == BME680_MEAS_SKIPPED) { in bme680_read_press()
680 *val = bme680_compensate_press(data, adc_press); in bme680_read_press()