Lines Matching refs:adc_press
301 s32 adc_press) in bmp280_compensate_press() argument
317 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
365 s32 adc_press; in bmp280_read_press() local
380 adc_press = be32_to_cpu(tmp) >> 12; in bmp280_read_press()
381 if (adc_press == BMP280_PRESS_SKIPPED) { in bmp280_read_press()
386 comp_press = bmp280_compensate_press(data, adc_press); in bmp280_read_press()
866 static u32 bmp180_compensate_press(struct bmp280_data *data, s32 adc_press) in bmp180_compensate_press() argument
883 b7 = ((u32)adc_press - b3) * (50000 >> oss); in bmp180_compensate_press()
900 s32 adc_press; in bmp180_read_press() local
908 ret = bmp180_read_adc_press(data, &adc_press); in bmp180_read_press()
912 comp_press = bmp180_compensate_press(data, adc_press); in bmp180_read_press()