Searched refs:avg_power (Results 1 – 4 of 4) sorted by relevance
58 int avg_power = 0; in amd_pmf_trans_automode() local63 avg_power = amd_pmf_get_moving_avg(dev, socket_power); in amd_pmf_trans_automode()66 if ((config_store.transition[i].shifting_up && avg_power >= in amd_pmf_trans_automode()68 (!config_store.transition[i].shifting_up && avg_power <= in amd_pmf_trans_automode()90 dev_dbg(dev->dev, "[AUTO_MODE] avg power: %u mW mode: %s\n", avg_power, in amd_pmf_trans_automode()
102 u32 avg_power = 0; in amd_pmf_trans_cnqf() local124 avg_power = tp->total_power / tp->count; in amd_pmf_trans_cnqf()131 if ((tp->shifting_up && avg_power >= tp->power_threshold) || in amd_pmf_trans_cnqf()132 (!tp->shifting_up && avg_power <= tp->power_threshold)) { in amd_pmf_trans_cnqf()141 avg_power, socket_power, state_as_str(config_store.current_mode)); in amd_pmf_trans_cnqf()
351 u32 avg_power; member
599 u32 avg_power; in mcp_exceeded() local607 avg_power = ips->cpu_avg_power + ips->mch_avg_power; in mcp_exceeded()608 if (avg_power > ips->mcp_power_limit) in mcp_exceeded()