Home
last modified time | relevance | path

Searched refs:event_alternatives (Results 1 – 6 of 6) sorted by relevance

/linux/arch/powerpc/perf/
H A Dmpc7450-pmu.c186 static const unsigned int event_alternatives[][MAX_ALT] = { variable
212 for (i = 0; i < ARRAY_SIZE(event_alternatives); ++i) { in find_alternative()
213 if (event < event_alternatives[i][0]) in find_alternative()
215 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
216 if (event == event_alternatives[i][j]) in find_alternative()
232 ae = event_alternatives[i][j]; in mpc7450_get_alternatives()
H A Dpower7-pmu.c120 static const unsigned int event_alternatives[][MAX_ALT] = { variable
134 for (i = 0; i < ARRAY_SIZE(event_alternatives); ++i) { in find_alternative()
135 if (event < event_alternatives[i][0]) in find_alternative()
137 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
138 if (event == event_alternatives[i][j]) in find_alternative()
168 ae = event_alternatives[i][j]; in power7_get_alternatives()
H A Dpower5-pmu.c213 static const unsigned int event_alternatives[][MAX_ALT] = { variable
229 for (i = 0; i < ARRAY_SIZE(event_alternatives); ++i) { in find_alternative()
230 if (event < event_alternatives[i][0]) in find_alternative()
232 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
233 if (event == event_alternatives[i][j]) in find_alternative()
280 ae = event_alternatives[i][j]; in power5_get_alternatives()
H A Dpower5+-pmu.c198 static const unsigned int event_alternatives[][MAX_ALT] = { variable
220 for (i = 0; i < ARRAY_SIZE(event_alternatives); ++i) { in find_alternative()
221 if (event < event_alternatives[i][0]) in find_alternative()
223 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
224 if (event == event_alternatives[i][j]) in find_alternative()
286 ae = event_alternatives[i][j]; in power5p_get_alternatives()
H A Dpower8-pmu.c98 static const unsigned int event_alternatives[][MAX_ALT] = { variable
117 ARRAY_SIZE(event_alternatives), flags, in power8_get_alternatives()
118 event_alternatives); in power8_get_alternatives()
H A Dpower6-pmu.c312 static const unsigned int event_alternatives[][MAX_ALT] = { variable
388 aevent = event_alternatives[i][j]; in p6_get_alternatives()