Lines Matching refs:wf_smu_failure_state
87 static unsigned int wf_smu_failure_state; variable
235 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_cpu_fans_tick()
243 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_cpu_fans_tick()
252 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_cpu_fans_tick()
255 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_cpu_fans_tick()
265 if (fan_cpu_main && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
270 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_cpu_fans_tick()
273 if (fan_cpu_second && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
278 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_cpu_fans_tick()
281 if (fan_cpu_third && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
286 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_cpu_fans_tick()
344 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_drive_fans_tick()
352 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_drive_fans_tick()
362 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_drive_fans_tick()
367 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_drive_fans_tick()
425 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_slots_fans_tick()
434 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_slots_fans_tick()
445 if (fan_slots && wf_smu_failure_state == 0) { in wf_smu_slots_fans_tick()
450 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_slots_fans_tick()
463 unsigned int last_failure = wf_smu_failure_state; in wf_smu_tick()
478 wf_smu_failure_state = 0; in wf_smu_tick()
487 new_failure = wf_smu_failure_state & ~last_failure; in wf_smu_tick()
492 if (wf_smu_failure_state && !last_failure) { in wf_smu_tick()
510 if (!wf_smu_failure_state && last_failure) { in wf_smu_tick()
531 if (!wf_smu_failure_state && wf_smu_overtemp) { in wf_smu_tick()