Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/macintosh/
Dwindfarm_pm72.c90 static int failure_state; variable
135 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
141 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
178 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
184 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
197 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
199 failure_state |= new_state; in cpu_check_overtemp()
200 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
203 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
206 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]
Dwindfarm_pm112.c108 static int failure_state; variable
204 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
210 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
231 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
237 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
250 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
252 failure_state |= new_state; in cpu_check_overtemp()
253 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
256 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
259 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]
Dwindfarm_rm31.c84 static int failure_state; variable
129 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
135 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
172 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
178 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
191 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
193 failure_state |= new_state; in cpu_check_overtemp()
194 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
197 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
200 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]