Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/macintosh/
Dwindfarm_pm72.c89 static int failure_state; variable
134 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
140 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
177 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
183 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
196 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
198 failure_state |= new_state; in cpu_check_overtemp()
199 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
202 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
205 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]
Dwindfarm_pm112.c109 static int failure_state; variable
210 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
216 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
237 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
243 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
256 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
258 failure_state |= new_state; in cpu_check_overtemp()
259 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
262 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
265 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]
Dwindfarm_rm31.c83 static int failure_state; variable
128 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
134 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
171 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
177 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
190 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
192 failure_state |= new_state; in cpu_check_overtemp()
193 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
196 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
199 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]