Lines Matching refs:tau
36 } tau[NR_CPUS];
59 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TIE | THRM1_TID);
64 mtspr (SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | THRM1_TIE);
67 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TID);
68 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V);
84 if (tau[cpu].low >= step_size){
85 tau[cpu].low -= step_size;
86 tau[cpu].high -= (step_size - window_expand);
88 tau[cpu].grew = 1;
96 if (tau[cpu].high <= 127-step_size){
97 tau[cpu].low += (step_size - window_expand);
98 tau[cpu].high += step_size;
100 tau[cpu].grew = 1;
108 printk("grew = %d\n", tau[cpu].grew);
128 tau[cpu].interrupts++;
151 size = tau[cpu].high - tau[cpu].low;
152 if (size > min_window && ! tau[cpu].grew) {
156 tau[cpu].low += shrink;
157 tau[cpu].high -= shrink;
159 tau[cpu].low += 1;
160 if ((tau[cpu].high - tau[cpu].low) != min_window){
166 tau[cpu].grew = 0;
211 tau[cpu].low = 5;
212 tau[cpu].high = 120;
257 return ((tau[cpu].high << 16) | tau[cpu].low);
262 return ((tau[cpu].high + tau[cpu].low) / 2);
267 return (tau[cpu].interrupts);