Lines Matching refs:chips
141 } *chips; variable
988 chips[i].restore = true; in powernv_cpufreq_occ_msg()
989 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
996 if (chips[i].id == omsg.chip) in powernv_cpufreq_occ_msg()
1001 chips[i].throttle_reason = omsg.throttle_status; in powernv_cpufreq_occ_msg()
1002 chips[i].reason[omsg.throttle_status]++; in powernv_cpufreq_occ_msg()
1006 chips[i].restore = true; in powernv_cpufreq_occ_msg()
1008 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
1074 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info()
1075 if (!chips) { in init_chip_info()
1081 chips[i].id = chip[i]; in init_chip_info()
1082 cpumask_copy(&chips[i].mask, &chip_cpu_mask[i]); in init_chip_info()
1083 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info()
1084 for_each_cpu(cpu, &chips[i].mask) in init_chip_info()
1085 per_cpu(chip_info, cpu) = &chips[i]; in init_chip_info()
1100 if (chips) in clean_chip_info()
1102 cancel_work_sync(&chips[i].throttle); in clean_chip_info()
1103 kfree(chips); in clean_chip_info()