Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/
H A Drk_virtual_thermal.c38 #define BASE_SHIFT (10) macro
287 temp_now = temp_mid + (gain * (milli_deg - temp_mid) >> BASE_SHIFT); in predict_normal_temp()
288 prob_now = ((BASE - gain) * prob_mid) >> BASE_SHIFT; in predict_normal_temp()
323 temp_mid + (gain * (milli_cur_temp - temp_mid) >> BASE_SHIFT); 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.c161 #define BASE_SHIFT (10) macro
1072 temp_now = (temp_mid * BASE + gain * (temp - temp_mid)) >> BASE_SHIFT; in predict_temp()
1078 prob_now = ((BASE - gain) * prob_mid) >> BASE_SHIFT; in predict_temp()