Home
last modified time | relevance | path

Searched refs:mchp_samples (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c960 u32 *cpu_samples, *mchp_samples, old_cpu_power; in ips_monitor() local
969 mchp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()
971 !cpu_samples || !mchp_samples) { in ips_monitor()
979 kfree(mchp_samples); in ips_monitor()
1012 mchp_samples[i] = mchp; in ips_monitor()
1025 ips->mch_avg_power = calc_avg_power(ips, mchp_samples); in ips_monitor()
1031 kfree(mchp_samples); in ips_monitor()