Searched refs:cpu_fans (Results 1 – 3 of 3) sorted by relevance
55 static struct wf_control *cpu_fans[NR_CHIPS][3]; variable110 if (cpu_fans[i][0]) in cpu_max_all_fans()111 wf_control_set_max(cpu_fans[i][0]); in cpu_max_all_fans()112 if (cpu_fans[i][1]) in cpu_max_all_fans()113 wf_control_set_max(cpu_fans[i][1]); in cpu_max_all_fans()114 if (cpu_fans[i][2]) in cpu_max_all_fans()115 wf_control_set_max(cpu_fans[i][2]); in cpu_max_all_fans()256 wf_control_get(cpu_fans[cpu][0], &sp->target); in cpu_fans_tick()282 err = wf_control_set(cpu_fans[cpu][i], speed); in cpu_fans_tick()285 cpu_fans[cpu][i]->name, err); in cpu_fans_tick()[all …]
57 static struct wf_control *cpu_fans[NR_CPU_FANS]; variable133 struct wf_control *main_fan = cpu_fans[0]; in create_cpu_loop()198 if (cpu_fans[i]) in cpu_max_all_fans()199 wf_control_set_max(cpu_fans[i]); in cpu_max_all_fans()333 ct = cpu_fans[i]; in cpu_fans_tick()500 if (cpu_fans[i]) in set_fail_state()501 wf_control_set_max(cpu_fans[i]); in set_fail_state()569 if (cpu_fans[i] == NULL && wf_get_control(ct) == 0) in pm112_new_control()570 cpu_fans[i] = ct; in pm112_new_control()590 if (cpu_fans[i] == NULL) in pm112_new_control()[all …]
322 u8 cpu_fans; member369 .cpu_fans = 1,1425 if (quirks->cpu_fans > 0) in WMID_gaming_set_fan_mode()1427 for (i = 0; i < (quirks->cpu_fans + quirks->gpu_fans); ++i) in WMID_gaming_set_fan_mode()1431 if (quirks->cpu_fans > 0) in WMID_gaming_set_fan_mode()1433 for (i = 0; i < (quirks->cpu_fans + quirks->gpu_fans); ++i) in WMID_gaming_set_fan_mode()