Lines Matching +full:thermal +full:- +full:calibration
1 // SPDX-License-Identifier: GPL-2.0
3 * temp.c Thermal management for cpu's with Thermal Assist Units
9 * calibration???
78 tau[cpu].low -= step_size; in TAUupdate()
79 tau[cpu].high -= (step_size - window_expand); in TAUupdate()
88 if (tau[cpu].high <= 127 - step_size) { in TAUupdate()
89 tau[cpu].low += (step_size - window_expand); in TAUupdate()
99 * TAU interrupts - called when we have a thermal assist unit interrupt
124 /* Stop thermal sensor comparisons and interrupts */ in tau_timeout()
127 size = tau[cpu].high - tau[cpu].low; in tau_timeout()
130 shrink = (2 + size - min_window) / 4; in tau_timeout()
133 tau[cpu].high -= shrink; in tau_timeout()
137 if ((tau[cpu].high - tau[cpu].low) != min_window){ in tau_timeout()
148 /* Restart thermal sensor comparisons and interrupts. in tau_timeout()
192 * all have it --BenH in TAU_init()
195 printk("Thermal assist unit not available\n"); in TAU_init()
201 !strcmp(cur_cpu_spec->platform, "ppc750"); in TAU_init()
205 return -ENOMEM; in TAU_init()
211 pr_info("Thermal assist unit using %s, shrink_timer: %d ms\n", in TAU_init()