Searched refs:socket_power_history_idx (Results 1 – 2 of 2) sorted by relevance
136 if (pdev->socket_power_history_idx == -1) { 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()142 pdev->socket_power_history[pdev->socket_power_history_idx] = socket_power; in amd_pmf_get_moving_avg()405 dev->socket_power_history_idx = -1; in amd_pmf_load_defaults_auto_mode()
176 int socket_power_history_idx; member