Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c961 u16 *mcp_samples, *ctv1_samples, *ctv2_samples, *mch_samples; in ips_monitor() local
964 mcp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
970 if (!mcp_samples || !ctv1_samples || !ctv2_samples || !mch_samples || in ips_monitor()
974 kfree(mcp_samples); in ips_monitor()
995 mcp_samples[i] = read_ptv(ips); in ips_monitor()
1020 ips->mcp_avg_temp = calc_avg_temp(ips, mcp_samples); in ips_monitor()
1026 kfree(mcp_samples); in ips_monitor()