Home
last modified time | relevance | path

Searched refs:var3 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/
Dsensor.c14 int64_t var1, var2, var3; in calculate_temperature() local
18 var3 = ((var1 >> 1) * (var1 >> 1)) >> 12; in calculate_temperature()
19 var3 = ((var3) * ((int32_t)cal_coeffs->par_t3 << 4)) >> 14; in calculate_temperature()
20 *t_fine = var2 + var3; in calculate_temperature()
34 int32_t var3; in calculate_pressure() local
58 var3 = ((int32_t)(pressure_comp >> 8) * (int32_t)(pressure_comp >> 8) * in calculate_pressure()
62 ((var1 + var2 + var3 + ((int32_t)cal_coeffs->par_p7 << 7)) >> 4); in calculate_pressure()
75 int32_t var3; in calculate_humidity() local
92 var3 = var1 * var2; in calculate_humidity()
95 var5 = ((var3 >> 14) * (var3 >> 14)) >> 10; in calculate_humidity()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bme680/
Dbme680.c69 int64_t var1, var2, var3; in bme680_calc_temp() local
73 var3 = ((var1 >> 1) * (var1 >> 1)) >> 12; in bme680_calc_temp()
74 var3 = ((var3) * ((int32_t)data->par_t3 << 4)) >> 14; 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
109 var3 = ((int32_t)(calc_press >> 8) * (int32_t)(calc_press >> 8) 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
133 var3 = var1 * var2; in bme680_calc_humidity()
137 var5 = ((var3 >> 14) * (var3 >> 14)) >> 10; in bme680_calc_humidity()
[all …]