Lines Matching refs:index
45 void (*func)(u32 index);
52 static void amd_pstate_ut_acpi_cpc_valid(u32 index);
53 static void amd_pstate_ut_check_enabled(u32 index);
54 static void amd_pstate_ut_check_perf(u32 index);
55 static void amd_pstate_ut_check_freq(u32 index);
77 static void amd_pstate_ut_acpi_cpc_valid(u32 index)
80 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;
82 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
87 static void amd_pstate_ut_pstate_enable(u32 index)
94 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
99 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;
101 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
109 static void amd_pstate_ut_check_enabled(u32 index)
112 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;
114 amd_pstate_ut_pstate_enable(index);
121 static void amd_pstate_ut_check_perf(u32 index)
139 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
151 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
166 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
179 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
188 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;
199 static void amd_pstate_ut_check_freq(u32 index)
215 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
223 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
232 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;
234 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
241 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL;
248 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;