Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/macintosh/
H A 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 …]
H A Dwindfarm_pm112.c107 static int failure_state; variable
208 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
214 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
235 if ((failure_state & FAILURE_LOW_OVERTEMP) == 0) in cpu_check_overtemp()
241 if ((failure_state & FAILURE_HIGH_OVERTEMP) == 0) in cpu_check_overtemp()
254 if ((failure_state & new_state) != new_state) in cpu_check_overtemp()
256 failure_state |= new_state; in cpu_check_overtemp()
257 } else if ((failure_state & FAILURE_LOW_OVERTEMP) && in cpu_check_overtemp()
260 failure_state &= ~FAILURE_LOW_OVERTEMP; in cpu_check_overtemp()
263 return failure_state & (FAILURE_LOW_OVERTEMP | FAILURE_HIGH_OVERTEMP); in cpu_check_overtemp()
[all …]
H A 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 …]