Searched refs:socket_power (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/platform/x86/amd/pmf/ |
D | core.c | 132 int socket_power; in amd_pmf_get_metrics() local 142 socket_power = dev->m_table.apu_power + dev->m_table.dgpu_power; in amd_pmf_get_metrics() 146 amd_pmf_trans_automode(dev, socket_power, time_elapsed_ms); in amd_pmf_get_metrics() 151 amd_pmf_trans_cnqf(dev, socket_power, time_elapsed_ms); in amd_pmf_get_metrics()
|
D | auto-mode.c | 132 static int amd_pmf_get_moving_avg(struct amd_pmf_dev *pdev, int socket_power) in amd_pmf_get_moving_avg() argument 138 pdev->socket_power_history[i] = socket_power; in amd_pmf_get_moving_avg() 142 pdev->socket_power_history[pdev->socket_power_history_idx] = socket_power; in amd_pmf_get_moving_avg() 150 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms) in amd_pmf_trans_automode() argument 157 avg_power = amd_pmf_get_moving_avg(dev, socket_power); in amd_pmf_trans_automode()
|
D | pmf.h | 421 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms); 433 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms);
|
D | cnqf.c | 154 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms) in amd_pmf_trans_cnqf() argument 175 config_store.trans_param[src][i].total_power += socket_power; in amd_pmf_trans_cnqf() 204 avg_power, socket_power, state_as_str(config_store.current_mode)); in amd_pmf_trans_cnqf()
|