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