Searched refs:adc_press (Results 1 – 2 of 2) sorted by relevance
298 s32 adc_press) in bmp280_compensate_press() argument314 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()362 s32 adc_press; in bmp280_read_press() local377 adc_press = be32_to_cpu(tmp) >> 12; in bmp280_read_press()378 if (adc_press == BMP280_PRESS_SKIPPED) { in bmp280_read_press()383 comp_press = bmp280_compensate_press(data, adc_press); in bmp280_read_press()863 static u32 bmp180_compensate_press(struct bmp280_data *data, s32 adc_press) in bmp180_compensate_press() argument880 b7 = ((u32)adc_press - b3) * (50000 >> oss); in bmp180_compensate_press()897 s32 adc_press; in bmp180_read_press() local905 ret = bmp180_read_adc_press(data, &adc_press); in bmp180_read_press()[all …]
351 u32 adc_press) in bme680_compensate_press() argument365 press_comp = 1048576 - adc_press; in bme680_compensate_press()643 s32 adc_press; in bme680_read_press() local657 adc_press = be32_to_cpu(tmp) >> 12; in bme680_read_press()658 if (adc_press == BME680_MEAS_SKIPPED) { in bme680_read_press()664 *val = bme680_compensate_press(data, adc_press); in bme680_read_press()