Searched refs:cpu_samples (Results 1 – 1 of 1) sorted by relevance
949 u32 *cpu_samples, *mchp_samples, old_cpu_power; in ips_monitor() local957 cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()960 !cpu_samples || !mchp_samples) { in ips_monitor()967 kfree(cpu_samples); in ips_monitor()997 cpu_samples[i] = cpu_power; in ips_monitor()1013 ips->cpu_avg_power = calc_avg_power(ips, cpu_samples); in ips_monitor()1019 kfree(cpu_samples); in ips_monitor()