Lines Matching refs:adc_press
310 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()
899 comp_press = bmp180_compensate_press(data, adc_press); in bmp180_read_press()