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; variable362 cputarget = wf_smu_cpu_fans ? wf_smu_cpu_fans->pid.target : 0; in wf_smu_sys_fans_tick()421 wf_smu_cpu_fans = kmalloc_obj(struct wf_smu_cpu_fans_state); in wf_smu_create_cpu_fans()422 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()424 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans()426 wf_smu_cpu_fans->scale = WF_SMU_CPU_FANS_SIBLING_SCALE; in wf_smu_create_cpu_fans()427 wf_smu_cpu_fans->offset = WF_SMU_CPU_FANS_SIBLING_OFFSET; in wf_smu_create_cpu_fans()452 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()560 if (wf_smu_cpu_fans) in wf_smu_tick()561 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_obj(struct wf_smu_cpu_fans_state); in wf_smu_create_cpu_fans()172 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()174 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans()199 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()480 if (wf_smu_cpu_fans) in wf_smu_tick()481 wf_smu_cpu_fans_tick(wf_smu_cpu_fans); in wf_smu_tick()690 kfree(wf_smu_cpu_fans); in wf_smu_remove()