Lines Matching refs:loop_id
508 static void pm121_create_sys_fans(int loop_id) in pm121_create_sys_fans() argument
517 if (pm121_sys_all_params[loop_id][i].model_id == pm121_mach_model) { in pm121_create_sys_fans()
518 param = &(pm121_sys_all_params[loop_id][i]); in pm121_create_sys_fans()
527 loop_names[loop_id]); in pm121_create_sys_fans()
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()
566 loop_names[loop_id], FIX32TOPRINT(pid_param.itarget), in pm121_create_sys_fans()
575 loop_names[loop_id], control ? control->name : "uninitialized value"); in pm121_create_sys_fans()
581 static void pm121_sys_fans_tick(int loop_id) in pm121_sys_fans_tick() argument
590 param = &(pm121_sys_all_params[loop_id][pm121_mach_model-2]); in pm121_sys_fans_tick()
591 st = pm121_sys_state[loop_id]; in pm121_sys_fans_tick()
611 loop_names[loop_id], sensor->name, in pm121_sys_fans_tick()