Lines Matching refs:var2
69 int64_t var1, var2, var3; in bme680_calc_temp() local
72 var2 = (var1 * (int32_t)data->par_t2) >> 11; in bme680_calc_temp()
75 data->t_fine = var2 + var3; in bme680_calc_temp()
81 int32_t var1, var2, var3, calc_press; in bme680_calc_press() local
84 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * in bme680_calc_press()
86 var2 = var2 + ((var1 * (int32_t)data->par_p5) << 1); in bme680_calc_press()
87 var2 = (var2 >> 2) + ((int32_t)data->par_p4 << 16); in bme680_calc_press()
94 calc_press = (calc_press - (var2 >> 12)) * ((uint32_t)3125); in bme680_calc_press()
108 var2 = ((int32_t)(calc_press >> 2) * (int32_t)data->par_p8) >> 13; in bme680_calc_press()
114 + ((var1 + var2 + var3 in bme680_calc_press()
120 int32_t var1, var2_1, var2_2, var2, var3, var4, var5, var6; in bme680_calc_humidity() local
132 var2 = (var2_1 * var2_2) >> 10; in bme680_calc_humidity()
133 var3 = var1 * var2; in bme680_calc_humidity()
154 uint64_t var2; in bme680_calc_gas_resistance() local
169 var2 = (((int64_t)((int64_t)adc_gas_res << 15) - (int64_t)(16777216)) + var1); in bme680_calc_gas_resistance()
171 data->calc_gas_resistance = (uint32_t)((var3 + ((int64_t)var2 >> 1)) in bme680_calc_gas_resistance()
172 / (int64_t)var2); in bme680_calc_gas_resistance()
178 int32_t var1, var2, var3, var4, var5; in bme680_calc_res_heat() local
187 var2 = (data->par_gh1 + 784) * (((((data->par_gh2 + 154009) in bme680_calc_res_heat()
190 var3 = var1 + (var2 / 2); in bme680_calc_res_heat()