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