Home
last modified time | relevance | path

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

/Linux-v6.6/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()
406 .max_alternatives = MAX_ALT,
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,
Dpower6-pmu.c310 #define MAX_ALT 4 /* at most 4 alternatives for any event */ macro
312 static const unsigned int event_alternatives[][MAX_ALT] = {
350 for (j = 0; j < MAX_ALT; ++j) { in find_alternatives_list()
375 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives()
528 .max_alternatives = MAX_ALT,
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,
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,
Disa207-common.h255 #define MAX_ALT 2 macro
286 const unsigned int ev_alt[][MAX_ALT]);
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()
Dpower8-pmu.c98 static const unsigned int event_alternatives[][MAX_ALT] = {
372 .max_alternatives = MAX_ALT + 1,
Dgeneric-compat-pmu.c86 static const unsigned int generic_event_alternatives[][MAX_ALT] = {
Dpower9-pmu.c135 static const unsigned int power9_event_alternatives[][MAX_ALT] = {
Dpower10-pmu.c93 static const unsigned int power10_event_alternatives[][MAX_ALT] = {
/Linux-v6.6/drivers/media/usb/gspca/
Dgspca.c567 #define MAX_ALT 16 macro
586 if (nbalt > MAX_ALT) in build_isoc_ep_tb()
587 nbalt = MAX_ALT; /* fixme: should warn */ in build_isoc_ep_tb()
761 struct ep_tb_s ep_tb[MAX_ALT]; in gspca_init_transfer()