Searched refs:failure_state (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm112.c108 static int failure_state; variable
204 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
210 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
231 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
237 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
250 if ((failure_state & new_state) != new_state) cpu_check_overtemp()
252 failure_state |= new_state; cpu_check_overtemp()
253 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && cpu_check_overtemp()
256 failure_state &= ~FAILURE_LOW_OVERTEMP; cpu_check_overtemp()
259 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); cpu_check_overtemp()
281 failure_state |= FAILURE_SENSOR; cpu_fans_tick()
296 failure_state |= FAILURE_SENSOR; cpu_fans_tick()
334 failure_state |= FAILURE_FAN; cpu_fans_tick()
375 failure_state |= FAILURE_SENSOR; backside_fan_tick()
386 failure_state |= FAILURE_FAN; backside_fan_tick()
425 failure_state |= FAILURE_SENSOR; drive_bay_fan_tick()
436 failure_state |= FAILURE_FAN; drive_bay_fan_tick()
472 failure_state |= FAILURE_SENSOR; slots_fan_tick()
483 failure_state |= FAILURE_FAN; slots_fan_tick()
513 failure_state = FAILURE_PERM; pm112_tick()
526 if (failure_state & FAILURE_PERM) pm112_tick()
531 last_failure = failure_state; pm112_tick()
532 failure_state &= FAILURE_LOW_OVERTEMP; pm112_tick()
538 DBG_LOTS("last_failure: 0x%x, failure_state: %x\n", pm112_tick()
539 last_failure, failure_state); pm112_tick()
542 if (failure_state && last_failure == 0 && cpufreq_clamp) pm112_tick()
544 if (failure_state == 0 && last_failure && cpufreq_clamp) pm112_tick()
H A Dwindfarm_rm31.c84 static int failure_state; variable
129 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
135 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
172 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
178 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
191 if ((failure_state & new_state) != new_state) cpu_check_overtemp()
193 failure_state |= new_state; cpu_check_overtemp()
194 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && cpu_check_overtemp()
197 failure_state &= ~FAILURE_LOW_OVERTEMP; cpu_check_overtemp()
200 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); cpu_check_overtemp()
261 failure_state |= FAILURE_SENSOR; cpu_fans_tick()
287 failure_state |= FAILURE_FAN; cpu_fans_tick()
389 failure_state |= FAILURE_SENSOR; backside_fan_tick()
402 failure_state |= FAILURE_SENSOR; backside_fan_tick()
416 failure_state |= FAILURE_FAN; backside_fan_tick()
470 failure_state |= FAILURE_SENSOR; slots_fan_tick()
483 failure_state |= FAILURE_FAN; slots_fan_tick()
521 failure_state = FAILURE_PERM; rm31_tick()
537 if (failure_state & FAILURE_PERM) rm31_tick()
544 last_failure = failure_state; rm31_tick()
545 failure_state &= FAILURE_LOW_OVERTEMP; rm31_tick()
554 DBG_LOTS(" last_failure: 0x%x, failure_state: %x\n", rm31_tick()
555 last_failure, failure_state); rm31_tick()
558 if (failure_state && last_failure == 0 && cpufreq_clamp) rm31_tick()
560 if (failure_state == 0 && last_failure && cpufreq_clamp) rm31_tick()
H A Dwindfarm_pm72.c90 static int failure_state; variable
135 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
141 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
178 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) cpu_check_overtemp()
184 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) cpu_check_overtemp()
197 if ((failure_state & new_state) != new_state) cpu_check_overtemp()
199 failure_state |= new_state; cpu_check_overtemp()
200 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && cpu_check_overtemp()
203 failure_state &= ~FAILURE_LOW_OVERTEMP; cpu_check_overtemp()
206 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); cpu_check_overtemp()
269 failure_state |= FAILURE_SENSOR; cpu_fans_tick_split()
291 failure_state |= FAILURE_FAN; cpu_fans_tick_split()
302 failure_state |= FAILURE_FAN; cpu_fans_tick_split()
326 failure_state |= FAILURE_SENSOR; cpu_fans_tick_combined()
332 failure_state |= FAILURE_SENSOR; cpu_fans_tick_combined()
373 failure_state |= FAILURE_FAN; cpu_fans_tick_combined()
379 failure_state |= FAILURE_FAN; cpu_fans_tick_combined()
387 failure_state |= FAILURE_FAN; cpu_fans_tick_combined()
487 failure_state |= FAILURE_SENSOR; backside_fan_tick()
499 failure_state |= FAILURE_FAN; backside_fan_tick()
566 failure_state |= FAILURE_SENSOR; drives_fan_tick()
578 failure_state |= FAILURE_FAN; drives_fan_tick()
618 failure_state = FAILURE_PERM; pm72_tick()
640 if (failure_state & FAILURE_PERM) pm72_tick()
647 last_failure = failure_state; pm72_tick()
648 failure_state &= FAILURE_LOW_OVERTEMP; pm72_tick()
656 DBG_LOTS(" last_failure: 0x%x, failure_state: %x\n", pm72_tick()
657 last_failure, failure_state); pm72_tick()
660 if (failure_state && last_failure == 0 && cpufreq_clamp) pm72_tick()
662 if (failure_state == 0 && last_failure && cpufreq_clamp) pm72_tick()

Completed in 89 milliseconds