Lines Matching refs:IPS_SAMPLE_COUNT
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()
968 mchp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()
990 for (i = 0; i < IPS_SAMPLE_COUNT; i++) { in ips_monitor()