Searched refs:wf_smu_cpu_fans (Results 1 – 2 of 2) sorted by relevance
255 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(sizeof(struct wf_smu_cpu_fans_state), in wf_smu_create_cpu_fans()423 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()425 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans()427 wf_smu_cpu_fans->scale = WF_SMU_CPU_FANS_SIBLING_SCALE; in wf_smu_create_cpu_fans()428 wf_smu_cpu_fans->offset = WF_SMU_CPU_FANS_SIBLING_OFFSET; in wf_smu_create_cpu_fans()453 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()561 if (wf_smu_cpu_fans) in wf_smu_tick()562 wf_smu_cpu_fans_tick(wf_smu_cpu_fans); in wf_smu_tick()[all …]
106 static struct wf_smu_cpu_fans_state *wf_smu_cpu_fans; variable170 wf_smu_cpu_fans = kmalloc(sizeof(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()482 if (wf_smu_cpu_fans) in wf_smu_tick()483 wf_smu_cpu_fans_tick(wf_smu_cpu_fans); in wf_smu_tick()692 kfree(wf_smu_cpu_fans); in wf_smu_remove()