Searched refs:var4 (Results 1 – 2 of 2) sorted by relevance
/drivers/iio/chemical/ |
D | bme680_core.c | 408 s32 var1, var2, var3, var4, var5, var6, temp_scaled, calc_hum; in bme680_compensate_humid() local 418 var4 = (s32)calib->par_h6 << 7; in bme680_compensate_humid() 419 var4 = (var4 + ((temp_scaled * calib->par_h7) / 100)) >> 4; in bme680_compensate_humid() 421 var6 = (var4 * var5) >> 1; in bme680_compensate_humid() 469 s32 var1, var2, var3, var4, var5, heatr_res_x100; in bme680_calc_heater_res() local 480 var4 = (var3 / (calib->res_heat_range + 4)); in bme680_calc_heater_res() 482 heatr_res_x100 = ((var4 / var5) - 250) * 34; in bme680_calc_heater_res()
|
/drivers/iio/pressure/ |
D | bmp280-core.c | 931 s64 var1, var2, var3, var4, var5, var6, comp_temp; in bmp380_compensate_temp() local 937 var4 = var3 * ((s64) calib->T3); in bmp380_compensate_temp() 938 var5 = (var2 << 18) + var4; in bmp380_compensate_temp() 956 s64 var1, var2, var3, var4, var5, var6, offset, sensitivity; in bmp380_compensate_press() local 963 var4 = ((s64)calib->P8 * var3) >> 5; in bmp380_compensate_press() 966 offset = ((s64)calib->P5 << 47) + var4 + var5 + var6; in bmp380_compensate_press() 968 var4 = ((s64)calib->P3 * var1) << 2; in bmp380_compensate_press() 972 var2 + var4 + var5; in bmp380_compensate_press() 976 var4 = (var3 * (s64)adc_press) >> 13; in bmp380_compensate_press() 982 var5 = ((s64)adc_press * div_s64(var4, 10)) >> 9; in bmp380_compensate_press() [all …]
|