Lines Matching refs:chips
139 } *chips; variable
972 chips[i].restore = true; in powernv_cpufreq_occ_msg()
973 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
980 if (chips[i].id == omsg.chip) in powernv_cpufreq_occ_msg()
985 chips[i].throttle_reason = omsg.throttle_status; in powernv_cpufreq_occ_msg()
986 chips[i].reason[omsg.throttle_status]++; in powernv_cpufreq_occ_msg()
990 chips[i].restore = true; in powernv_cpufreq_occ_msg()
992 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg()
1057 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info()
1058 if (!chips) in init_chip_info()
1062 chips[i].id = chip[i]; in init_chip_info()
1063 cpumask_copy(&chips[i].mask, cpumask_of_node(chip[i])); in init_chip_info()
1064 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info()
1065 for_each_cpu(cpu, &chips[i].mask) in init_chip_info()
1066 per_cpu(chip_info, cpu) = &chips[i]; in init_chip_info()
1074 kfree(chips); in clean_chip_info()