Lines Matching refs:tau
38 } tau[NR_CPUS]; variable
61 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TIE | THRM1_TID); in set_thresholds()
66 mtspr (SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | THRM1_TIE); in set_thresholds()
69 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TID); in set_thresholds()
70 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V); in set_thresholds()
86 if (tau[cpu].low >= step_size){ in TAUupdate()
87 tau[cpu].low -= step_size; in TAUupdate()
88 tau[cpu].high -= (step_size - window_expand); in TAUupdate()
90 tau[cpu].grew = 1; in TAUupdate()
98 if (tau[cpu].high <= 127-step_size){ in TAUupdate()
99 tau[cpu].low += (step_size - window_expand); in TAUupdate()
100 tau[cpu].high += step_size; in TAUupdate()
102 tau[cpu].grew = 1; in TAUupdate()
110 printk("grew = %d\n", tau[cpu].grew); in TAUupdate()
130 tau[cpu].interrupts++; in TAUException()
153 size = tau[cpu].high - tau[cpu].low; in tau_timeout()
154 if (size > min_window && ! tau[cpu].grew) { in tau_timeout()
158 tau[cpu].low += shrink; in tau_timeout()
159 tau[cpu].high -= shrink; in tau_timeout()
161 tau[cpu].low += 1; in tau_timeout()
163 if ((tau[cpu].high - tau[cpu].low) != min_window){ in tau_timeout()
170 tau[cpu].grew = 0; in tau_timeout()
218 tau[cpu].low = 5; in TAU_init_smp()
219 tau[cpu].high = 120; in TAU_init_smp()
267 return ((tau[cpu].high << 16) | tau[cpu].low); in cpu_temp_both()
272 return ((tau[cpu].high + tau[cpu].low) / 2); in cpu_temp()
277 return (tau[cpu].interrupts); in tau_interrupts()