Searched refs:IPS_SAMPLE_COUNT (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/platform/x86/ |
H A D | intel_ips.c | 244 #define IPS_SAMPLE_COUNT (IPS_SAMPLE_WINDOW / IPS_SAMPLE_PERIOD) macro 828 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_temp() 831 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_temp() 926 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_power() 929 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_power() 963 mcp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor() 964 ctv1_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor() 965 ctv2_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor() 966 mch_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor() 967 cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor() [all …]
|