Home
last modified time | relevance | path

Searched refs:wf_smu_cpu_fans (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/macintosh/
Dwindfarm_pm81.c256 static struct wf_smu_cpu_fans_state *wf_smu_cpu_fans; variable
363 cputarget = wf_smu_cpu_fans ? wf_smu_cpu_fans->pid.target : 0; in wf_smu_sys_fans_tick()
422 wf_smu_cpu_fans = kmalloc(sizeof(struct wf_smu_cpu_fans_state), in wf_smu_create_cpu_fans()
424 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()
426 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans()
428 wf_smu_cpu_fans->scale = WF_SMU_CPU_FANS_SIBLING_SCALE; in wf_smu_create_cpu_fans()
429 wf_smu_cpu_fans->offset = WF_SMU_CPU_FANS_SIBLING_OFFSET; in wf_smu_create_cpu_fans()
454 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
562 if (wf_smu_cpu_fans) in wf_smu_tick()
563 wf_smu_cpu_fans_tick(wf_smu_cpu_fans); in wf_smu_tick()
[all …]
Dwindfarm_pm91.c107 static struct wf_smu_cpu_fans_state *wf_smu_cpu_fans; variable
171 wf_smu_cpu_fans = kmalloc(sizeof(struct wf_smu_cpu_fans_state), in wf_smu_create_cpu_fans()
173 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()
175 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans()
200 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
483 if (wf_smu_cpu_fans) in wf_smu_tick()
484 wf_smu_cpu_fans_tick(wf_smu_cpu_fans); in wf_smu_tick()
693 kfree(wf_smu_cpu_fans); in wf_smu_remove()