Searched refs:MAX_ALT (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/arch/powerpc/perf/
H A Dmpc7450-pmu.c17 #define MAX_ALT 3 /* Maximum number of event alternative codes */ macro
190 static const unsigned int event_alternatives[][MAX_ALT] = {
219 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) find_alternative()
235 for (j = 0; j < MAX_ALT; ++j) { mpc7450_get_alternatives()
402 .max_alternatives = MAX_ALT,
H A Dpower7-pmu.c120 #define MAX_ALT 2 /* at most 2 alternatives for any event */ macro
122 static const unsigned int event_alternatives[][MAX_ALT] = {
139 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) find_alternative()
169 for (j = 0; j < MAX_ALT; ++j) { power7_get_alternatives()
433 .max_alternatives = MAX_ALT + 1,
H A Dpower5+-pmu.c198 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
200 static const unsigned int event_alternatives[][MAX_ALT] = {
225 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) find_alternative()
287 for (j = 0; j < MAX_ALT; ++j) { power5p_get_alternatives()
666 .max_alternatives = MAX_ALT,
H A Dpower5-pmu.c213 #define MAX_ALT 3 /* at most 3 alternatives for any event */ macro
215 static const unsigned int event_alternatives[][MAX_ALT] = {
234 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) find_alternative()
281 for (j = 0; j < MAX_ALT; ++j) { power5_get_alternatives()
608 .max_alternatives = MAX_ALT,
H A Dpower6-pmu.c311 #define MAX_ALT 4 /* at most 4 alternatives for any event */ macro
313 static const unsigned int event_alternatives[][MAX_ALT] = {
351 for (j = 0; j < MAX_ALT; ++j) { find_alternatives_list()
376 for (j = 0; j < MAX_ALT; ++j) { p6_get_alternatives()
529 .max_alternatives = MAX_ALT,
H A Dpower8-pmu.c519 #define MAX_ALT 2 macro
522 static const unsigned int event_alternatives[][MAX_ALT] = {
548 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) find_alternative()
566 for (j = 0; j < MAX_ALT; ++j) { power8_get_alternatives()
807 .max_alternatives = MAX_ALT + 1,
/linux-4.1.27/drivers/media/usb/gspca/
H A Dgspca.c666 #define MAX_ALT 16 macro
685 if (nbalt > MAX_ALT) build_isoc_ep_tb()
686 nbalt = MAX_ALT; /* fixme: should warn */ build_isoc_ep_tb()
845 struct ep_tb_s ep_tb[MAX_ALT]; gspca_init_transfer()

Completed in 173 milliseconds