calc_hum 399 drivers/iio/chemical/bme680_core.c s32 var1, var2, var3, var4, var5, var6, temp_scaled, calc_hum; calc_hum 413 drivers/iio/chemical/bme680_core.c calc_hum = (((var3 + var6) >> 10) * 1000) >> 12; calc_hum 415 drivers/iio/chemical/bme680_core.c calc_hum = clamp(calc_hum, 0, 100000); /* clamp between 0-100 %rH */ calc_hum 417 drivers/iio/chemical/bme680_core.c return calc_hum;