Searched refs:var2 (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | sensor.c | 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() [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bme680/ |
D | bme680.c | 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() [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bme280/ |
D | bme280.c | 70 int32_t var1, var2; in bme280_compensate_temp() local 74 var2 = (((((adc_temp >> 4) - ((int32_t)data->dig_t1)) * in bme280_compensate_temp() 78 data->t_fine = var1 + var2; in bme280_compensate_temp() 84 int64_t var1, var2, p; in bme280_compensate_press() local 87 var2 = var1 * var1 * (int64_t)data->dig_p6; in bme280_compensate_press() 88 var2 = var2 + ((var1 * (int64_t)data->dig_p5) << 17); in bme280_compensate_press() 89 var2 = var2 + (((int64_t)data->dig_p4) << 35); in bme280_compensate_press() 100 p = (((p << 31) - var2) * 3125) / var1; in bme280_compensate_press() 102 var2 = (((int64_t)data->dig_p8) * p) >> 19; in bme280_compensate_press() 103 p = ((p + var1 + var2) >> 8) + (((int64_t)data->dig_p7) << 4); in bme280_compensate_press()
|
/Zephyr-latest/doc/kernel/usermode/ |
D | memory_domain.rst | 267 /* The global variable var2 will be inside the bounds of my_partition 271 K_APP_BMEM(my_partition) int var2;
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 4904 my $var2 = deparenthesize($var); 4905 $var2 =~ s/\s//g; 4906 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
|