Searched refs:adc_press (Results 1 – 2 of 2) sorted by relevance
310 s32 adc_press) in bmp280_compensate_press() argument326 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()373 s32 adc_press; in bmp280_read_press() local387 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() argument870 b7 = ((u32)adc_press - b3) * (50000 >> oss); in bmp180_compensate_press()887 s32 adc_press; in bmp180_read_press() local895 ret = bmp180_read_adc_press(data, &adc_press); in bmp180_read_press()[all …]
363 u32 adc_press) in bme680_compensate_press() argument377 press_comp = 1048576 - adc_press; in bme680_compensate_press()659 s32 adc_press; in bme680_read_press() local673 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()