Lines Matching refs:wf_smu_cpu_fans
256 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()
763 kfree(wf_smu_cpu_fans); in wf_smu_remove()