Home
last modified time | relevance | path

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

/arch/powerpc/perf/
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()
398 .max_alternatives = MAX_ALT,
Dpower6-pmu.c307 #define MAX_ALT 4 /* at most 4 alternatives for any event */ macro
309 static const unsigned int event_alternatives[][MAX_ALT] = {
347 for (j = 0; j < MAX_ALT; ++j) { in find_alternatives_list()
372 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives()
525 .max_alternatives = MAX_ALT,
Dpower7-pmu.c116 #define MAX_ALT 2 /* at most 2 alternatives for any event */ macro
118 static const unsigned int event_alternatives[][MAX_ALT] = {
135 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
165 for (j = 0; j < MAX_ALT; ++j) { in power7_get_alternatives()
430 .max_alternatives = MAX_ALT + 1,
Dpower5-pmu.c209 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
211 static const unsigned int event_alternatives[][MAX_ALT] = {
230 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
277 for (j = 0; j < MAX_ALT; ++j) { in power5_get_alternatives()
604 .max_alternatives = MAX_ALT,
Dpower5+-pmu.c194 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
196 static const unsigned int event_alternatives[][MAX_ALT] = {
221 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
283 for (j = 0; j < MAX_ALT; ++j) { in power5p_get_alternatives()
662 .max_alternatives = MAX_ALT,
Disa207-common.h202 #define MAX_ALT 2 macro
224 const unsigned int ev_alt[][MAX_ALT]);
Disa207-common.c493 static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size) in find_alternative() argument
501 for (j = 0; j < MAX_ALT && ev_alt[i][j]; ++j) in find_alternative()
510 const unsigned int ev_alt[][MAX_ALT]) in isa207_get_alternatives() argument
519 for (j = 0; j < MAX_ALT; ++j) { in isa207_get_alternatives()
Dpower8-pmu.c98 static const unsigned int event_alternatives[][MAX_ALT] = {
362 .max_alternatives = MAX_ALT + 1,
Dpower9-pmu.c133 static const unsigned int power9_event_alternatives[][MAX_ALT] = {