Lines Matching refs:IPS_SAMPLE_COUNT
243 #define IPS_SAMPLE_COUNT (IPS_SAMPLE_WINDOW / IPS_SAMPLE_PERIOD) macro
820 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_temp()
823 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_temp()
918 for (i = 0; i < IPS_SAMPLE_COUNT; i++) in calc_avg_power()
921 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_power()
953 mcp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
954 ctv1_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
955 ctv2_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
956 mch_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); in ips_monitor()
957 cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()
958 mchp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); in ips_monitor()
980 for (i = 0; i < IPS_SAMPLE_COUNT; i++) { in ips_monitor()