Home
last modified time | relevance | path

Searched refs:MAX_ALT (Results 1 – 11 of 11) sorted by relevance

/linux/arch/powerpc/perf/
H A Dmpc7450-pmu.c13 #define MAX_ALT 3 /* Maximum number of event alternative codes */ macro
186 static const unsigned int event_alternatives[][MAX_ALT] = {
215 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
231 for (j = 0; j < MAX_ALT; ++j) { in mpc7450_get_alternatives()
406 .max_alternatives = MAX_ALT,
H A Dpower7-pmu.c118 #define MAX_ALT 2 /* at most 2 alternatives for any event */ macro
120 static const unsigned int event_alternatives[][MAX_ALT] = {
137 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
167 for (j = 0; j < MAX_ALT; ++j) { in power7_get_alternatives()
434 .max_alternatives = MAX_ALT + 1,
H A Dpower5-pmu.c211 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
213 static const unsigned int event_alternatives[][MAX_ALT] = {
232 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
279 for (j = 0; j < MAX_ALT; ++j) { in power5_get_alternatives()
608 .max_alternatives = MAX_ALT,
H A Dpower5+-pmu.c196 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
198 static const unsigned int event_alternatives[][MAX_ALT] = {
223 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
285 for (j = 0; j < MAX_ALT; ++j) { in power5p_get_alternatives()
666 .max_alternatives = MAX_ALT,
H A Dpower6-pmu.c310 #define MAX_ALT 4 /* at most 4 alternatives for any event */ macro
312 static const unsigned int event_alternatives[][MAX_ALT] = {
387 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives()
540 .max_alternatives = MAX_ALT,
H A Disa207-common.h255 #define MAX_ALT 2 macro
286 const unsigned int ev_alt[][MAX_ALT]);
H A Disa207-common.c739 static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size) in find_alternative() argument
747 for (j = 0; j < MAX_ALT && ev_alt[i][j]; ++j) in find_alternative()
756 const unsigned int ev_alt[][MAX_ALT]) in isa207_get_alternatives() argument
765 for (j = 0; j < MAX_ALT; ++j) { in isa207_get_alternatives()
H A Dpower8-pmu.c98 static const unsigned int event_alternatives[][MAX_ALT] = {
372 .max_alternatives = MAX_ALT + 1,
H A Dgeneric-compat-pmu.c86 static const unsigned int generic_event_alternatives[][MAX_ALT] = {
H A Dpower9-pmu.c135 static const unsigned int power9_event_alternatives[][MAX_ALT] = {
H A Dpower10-pmu.c93 static const unsigned int power10_event_alternatives[][MAX_ALT] = {