Lines Matching refs:chips
141 } *chips; variable
980 chips[i].restore = true; in powernv_cpufreq_occ_msg()
981 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
988 if (chips[i].id == omsg.chip) in powernv_cpufreq_occ_msg()
993 chips[i].throttle_reason = omsg.throttle_status; in powernv_cpufreq_occ_msg()
994 chips[i].reason[omsg.throttle_status]++; in powernv_cpufreq_occ_msg()
998 chips[i].restore = true; in powernv_cpufreq_occ_msg()
1000 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
1079 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info()
1080 if (!chips) { in init_chip_info()
1086 chips[i].id = chip[i]; in init_chip_info()
1087 cpumask_copy(&chips[i].mask, &chip_cpu_mask[i]); in init_chip_info()
1088 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info()
1089 for_each_cpu(cpu, &chips[i].mask) in init_chip_info()
1090 per_cpu(chip_info, cpu) = &chips[i]; in init_chip_info()
1105 if (chips) in clean_chip_info()
1107 cancel_work_sync(&chips[i].throttle); in clean_chip_info()
1108 kfree(chips); in clean_chip_info()