Searched refs:wf_smu_cpu_fans (Results 1 – 2 of 2) sorted by relevance
256 static struct wf_smu_cpu_fans_state *wf_smu_cpu_fans; variable363 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 …]
107 static struct wf_smu_cpu_fans_state *wf_smu_cpu_fans; variable171 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()