Searched refs:cpu_samples (Results 1 – 1 of 1) sorted by relevance
960 u32 *cpu_samples, *mchp_samples, old_cpu_power; in ips_monitor() local968 cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()971 !cpu_samples || !mchp_samples) { in ips_monitor()978 kfree(cpu_samples); in ips_monitor()1008 cpu_samples[i] = cpu_power; in ips_monitor()1024 ips->cpu_avg_power = calc_avg_power(ips, cpu_samples); in ips_monitor()1030 kfree(cpu_samples); in ips_monitor()