Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/platform/x86/amd/pmf/
Dauto-mode.c58 int avg_power = 0; in amd_pmf_trans_automode() local
63 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()
Dcnqf.c102 u32 avg_power = 0; in amd_pmf_trans_cnqf() local
124 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()
Dpmf.h351 u32 avg_power; member
/linux-6.1.9/drivers/platform/x86/
Dintel_ips.c599 u32 avg_power; in mcp_exceeded() local
607 avg_power = ips->cpu_avg_power + ips->mch_avg_power; in mcp_exceeded()
608 if (avg_power > ips->mcp_power_limit) in mcp_exceeded()