Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c254 #define IPS_SAMPLE_COUNT (IPS_SAMPLE_WINDOW / IPS_SAMPLE_PERIOD) macro
831 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_temp()
834 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_temp()
929 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_power()
932 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_power()
964 mcp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
965 ctv1_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
966 ctv2_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
967 mch_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
968 cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()
[all …]