Searched refs:calc_press (Results 1 – 2 of 2) sorted by relevance
81 int32_t var1, var2, var3, calc_press; in bme680_calc_press() local93 calc_press = 1048576 - adc_press; in bme680_calc_press()94 calc_press = (calc_press - (var2 >> 12)) * ((uint32_t)3125); in bme680_calc_press()100 if (calc_press >= (int32_t)0x40000000) { in bme680_calc_press()101 calc_press = ((calc_press / var1) << 1); in bme680_calc_press()103 calc_press = ((calc_press << 1) / var1); in bme680_calc_press()106 (int32_t)(((calc_press >> 3) in bme680_calc_press()107 * (calc_press >> 3)) >> 13)) >> 12; in bme680_calc_press()108 var2 = ((int32_t)(calc_press >> 2) * (int32_t)data->par_p8) >> 13; in bme680_calc_press()109 var3 = ((int32_t)(calc_press >> 8) * (int32_t)(calc_press >> 8) in bme680_calc_press()[all …]
203 uint32_t calc_press; member