Lines Matching refs:var2
14 int64_t var1, var2, var3; in calculate_temperature() local
17 var2 = (var1 * (int32_t)cal_coeffs->par_t2) >> 11; in calculate_temperature()
20 *t_fine = var2 + var3; in calculate_temperature()
33 int32_t var2; in calculate_pressure() local
39 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * (int32_t)cal_coeffs->par_p6) >> 2; in calculate_pressure()
40 var2 = var2 + ((var1 * (int32_t)cal_coeffs->par_p5) << 1); in calculate_pressure()
41 var2 = (var2 >> 2) + ((int32_t)cal_coeffs->par_p4 << 16); in calculate_pressure()
47 pressure_comp = (int32_t)((pressure_comp - (var2 >> 12)) * ((uint32_t)3125)); in calculate_pressure()
57 var2 = ((int32_t)(pressure_comp >> 2) * (int32_t)cal_coeffs->par_p8) >> 13; in calculate_pressure()
62 ((var1 + var2 + var3 + ((int32_t)cal_coeffs->par_p7 << 7)) >> 4); in calculate_pressure()
74 int32_t var2; in calculate_humidity() local
85 var2 = ((int32_t)cal_coeffs->par_h2 * in calculate_humidity()
92 var3 = var1 * var2; in calculate_humidity()