Home
last modified time | relevance | path

Searched refs:AVG_SAMPLE_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dauto-mode.c137 for (i = 0; i < AVG_SAMPLE_SIZE; i++) in amd_pmf_get_moving_avg()
141 pdev->socket_power_history_idx = (pdev->socket_power_history_idx + 1) % AVG_SAMPLE_SIZE; in amd_pmf_get_moving_avg()
144 for (i = 0; i < AVG_SAMPLE_SIZE; i++) in amd_pmf_get_moving_avg()
147 return total / AVG_SAMPLE_SIZE; in amd_pmf_get_moving_avg()
Dpmf.h81 #define AVG_SAMPLE_SIZE 3 macro
348 int socket_power_history[AVG_SAMPLE_SIZE];