Searched refs:heatr_res_x100 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A D | bme680_core.c | 468 s32 var1, var2, var3, var4, var5, heatr_res_x100; in bme680_calc_heater_res() local 481 heatr_res_x100 = ((var4 / var5) - 250) * 34; in bme680_calc_heater_res() 482 heatr_res = (heatr_res_x100 + 50) / 100; in bme680_calc_heater_res()
|
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | bme680_core.c | 468 s32 var1, var2, var3, var4, var5, heatr_res_x100; in bme680_calc_heater_res() local 481 heatr_res_x100 = ((var4 / var5) - 250) * 34; in bme680_calc_heater_res() 482 heatr_res = DIV_ROUND_CLOSEST(heatr_res_x100, 100); in bme680_calc_heater_res()
|
Completed in 3 milliseconds