Lines Matching refs:wf_smu_failure_state
150 static unsigned int wf_smu_failure_state; variable
345 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_sys_fans_tick()
353 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_sys_fans_tick()
376 if (fan_system && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
381 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_sys_fans_tick()
384 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
389 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_sys_fans_tick()
489 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_cpu_fans_tick()
497 wf_smu_failure_state |= FAILURE_SENSOR; in wf_smu_cpu_fans_tick()
506 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_cpu_fans_tick()
509 wf_smu_failure_state |= FAILURE_OVERTEMP; in wf_smu_cpu_fans_tick()
528 if (fan_cpu_main && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
533 wf_smu_failure_state |= FAILURE_FAN; in wf_smu_cpu_fans_tick()
545 unsigned int last_failure = wf_smu_failure_state; in wf_smu_tick()
559 wf_smu_failure_state = 0; in wf_smu_tick()
566 new_failure = wf_smu_failure_state & ~last_failure; in wf_smu_tick()
571 if (wf_smu_failure_state && !last_failure) { in wf_smu_tick()
585 if (!wf_smu_failure_state && last_failure) { in wf_smu_tick()
606 if (!wf_smu_failure_state && wf_smu_overtemp) { in wf_smu_tick()