Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/chemical/
Dbme680_core.c407 s32 var1, var2, var3, var4, var5, var6, temp_scaled, calc_hum; in bme680_compensate_humid() local
421 calc_hum = (((var3 + var6) >> 10) * 1000) >> 12; in bme680_compensate_humid()
423 calc_hum = clamp(calc_hum, 0, 100000); /* clamp between 0-100 %rH */ in bme680_compensate_humid()
425 return calc_hum; in bme680_compensate_humid()