Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
H A Dwindfarm_pm121.c431 struct pm121_sys_state { struct
437 static struct pm121_sys_state *pm121_sys_state[N_LOOPS] = {}; variable
534 pm121_sys_state[loop_id] = kmalloc(sizeof(struct pm121_sys_state), in pm121_create_sys_fans()
536 if (pm121_sys_state[loop_id] == NULL) { in pm121_create_sys_fans()
540 pm121_sys_state[loop_id]->ticks = 1; in pm121_create_sys_fans()
562 wf_pid_init(&pm121_sys_state[loop_id]->pid, &pid_param); in pm121_create_sys_fans()
584 struct pm121_sys_state *st; in pm121_sys_fans_tick()
591 st = pm121_sys_state[loop_id]; in pm121_sys_fans_tick()
817 if (pm121_sys_state[i]) in pm121_tick()