Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/
H A Drk_virtual_thermal.c269 int prob_mid; in predict_normal_temp() local
284 prob_mid = prob_last + cov_q; in predict_normal_temp()
285 gain = (prob_mid * BASE) / (prob_mid + cov_r); in predict_normal_temp()
288 prob_now = ((BASE - gain) * prob_mid) >> BASE_SHIFT; in predict_normal_temp()
304 int prob_mid; in predict_cur_temp() local
319 prob_mid = prob_last + cov_q; in predict_cur_temp()
320 gain = (prob_mid * BASE) / (prob_mid + cov_r); in predict_cur_temp()
324 prob_now = ((BASE - gain) * prob_mid) >> BASE_SHIFT; in predict_cur_temp()
/OK3568_Linux_fs/u-boot/drivers/thermal/
H A Drockchip_thermal.c1032 int prob_mid; in predict_temp() local
1066 prob_mid = prob_last + cov_q; in predict_temp()
1069 gain = (prob_mid * BASE) / (prob_mid + cov_r); in predict_temp()
1078 prob_now = ((BASE - gain) * prob_mid) >> BASE_SHIFT; in predict_temp()