Searched refs:wf_smu_failure_state (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm91.c86 static unsigned int wf_smu_failure_state; variable
234 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_cpu_fans_tick()
242 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_cpu_fans_tick()
251 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_cpu_fans_tick()
254 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_cpu_fans_tick()
264 if (fan_cpu_main && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
269 wf_smu_failure_state |= FAILURE_FAN; wf_smu_cpu_fans_tick()
272 if (fan_cpu_second && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
277 wf_smu_failure_state |= FAILURE_FAN; wf_smu_cpu_fans_tick()
280 if (fan_cpu_third && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
285 wf_smu_failure_state |= FAILURE_FAN; wf_smu_cpu_fans_tick()
343 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_drive_fans_tick()
351 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_drive_fans_tick()
361 if (fan_hd && wf_smu_failure_state == 0) { wf_smu_drive_fans_tick()
366 wf_smu_failure_state |= FAILURE_FAN; wf_smu_drive_fans_tick()
424 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_slots_fans_tick()
433 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_slots_fans_tick()
444 if (fan_slots && wf_smu_failure_state == 0) { wf_smu_slots_fans_tick()
449 wf_smu_failure_state |= FAILURE_FAN; wf_smu_slots_fans_tick()
462 unsigned int last_failure = wf_smu_failure_state; wf_smu_tick()
477 wf_smu_failure_state = 0; wf_smu_tick()
486 new_failure = wf_smu_failure_state & ~last_failure; wf_smu_tick()
491 if (wf_smu_failure_state && !last_failure) { wf_smu_tick()
509 if (!wf_smu_failure_state && last_failure) { wf_smu_tick()
530 if (!wf_smu_failure_state && wf_smu_overtemp) { wf_smu_tick()
H A Dwindfarm_pm81.c150 static unsigned int wf_smu_failure_state; variable
345 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_sys_fans_tick()
353 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_sys_fans_tick()
376 if (fan_system && wf_smu_failure_state == 0) { wf_smu_sys_fans_tick()
381 wf_smu_failure_state |= FAILURE_FAN; wf_smu_sys_fans_tick()
384 if (fan_hd && wf_smu_failure_state == 0) { wf_smu_sys_fans_tick()
389 wf_smu_failure_state |= FAILURE_FAN; wf_smu_sys_fans_tick()
489 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_cpu_fans_tick()
497 wf_smu_failure_state |= FAILURE_SENSOR; wf_smu_cpu_fans_tick()
506 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_cpu_fans_tick()
509 wf_smu_failure_state |= FAILURE_OVERTEMP; wf_smu_cpu_fans_tick()
528 if (fan_cpu_main && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
533 wf_smu_failure_state |= FAILURE_FAN; wf_smu_cpu_fans_tick()
545 unsigned int last_failure = wf_smu_failure_state; wf_smu_tick()
559 wf_smu_failure_state = 0; wf_smu_tick()
566 new_failure = wf_smu_failure_state & ~last_failure; wf_smu_tick()
571 if (wf_smu_failure_state && !last_failure) { wf_smu_tick()
585 if (!wf_smu_failure_state && last_failure) { wf_smu_tick()
606 if (!wf_smu_failure_state && wf_smu_overtemp) { wf_smu_tick()

Completed in 87 milliseconds