Home
last modified time | relevance | path

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

/Linux-v5.10/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()
405 .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()
433 .max_alternatives = MAX_ALT + 1,
Dpower6-pmu.c309 #define MAX_ALT 4 /* at most 4 alternatives for any event */ macro
311 static const unsigned int event_alternatives[][MAX_ALT] = {
349 for (j = 0; j < MAX_ALT; ++j) { in find_alternatives_list()
374 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives()
527 .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()
607 .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()
665 .max_alternatives = MAX_ALT,
Disa207-common.c556 static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size) in find_alternative() argument
564 for (j = 0; j < MAX_ALT && ev_alt[i][j]; ++j) in find_alternative()
573 const unsigned int ev_alt[][MAX_ALT]) in isa207_get_alternatives() argument
582 for (j = 0; j < MAX_ALT; ++j) { in isa207_get_alternatives()
Disa207-common.h232 #define MAX_ALT 2 macro
257 const unsigned int ev_alt[][MAX_ALT]);
Dpower8-pmu.c98 static const unsigned int event_alternatives[][MAX_ALT] = {
362 .max_alternatives = MAX_ALT + 1,
Dpower10-pmu.c92 static const unsigned int power10_event_alternatives[][MAX_ALT] = {
Dpower9-pmu.c135 static const unsigned int power9_event_alternatives[][MAX_ALT] = {
/Linux-v5.10/drivers/media/usb/gspca/
Dgspca.c565 #define MAX_ALT 16 macro
584 if (nbalt > MAX_ALT) in build_isoc_ep_tb()
585 nbalt = MAX_ALT; /* fixme: should warn */ in build_isoc_ep_tb()
759 struct ep_tb_s ep_tb[MAX_ALT]; in gspca_init_transfer()