Lines Matching refs:chips
149 } *chips; variable
973 chips[i].restore = true; in powernv_cpufreq_occ_msg()
974 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
981 if (chips[i].id == omsg.chip) in powernv_cpufreq_occ_msg()
986 chips[i].throttle_reason = omsg.throttle_status; in powernv_cpufreq_occ_msg()
987 chips[i].reason[omsg.throttle_status]++; in powernv_cpufreq_occ_msg()
991 chips[i].restore = true; in powernv_cpufreq_occ_msg()
993 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
1058 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info()
1059 if (!chips) in init_chip_info()
1063 chips[i].id = chip[i]; in init_chip_info()
1064 cpumask_copy(&chips[i].mask, cpumask_of_node(chip[i])); in init_chip_info()
1065 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info()
1066 for_each_cpu(cpu, &chips[i].mask) in init_chip_info()
1067 per_cpu(chip_info, cpu) = &chips[i]; in init_chip_info()
1075 kfree(chips); in clean_chip_info()