/kernel/linux/linux-5.10/arch/powerpc/perf/ |
H A D | mpc7450-pmu.c | 13 #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,
|
H A D | power7-pmu.c | 118 #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,
|
H A D | power5+-pmu.c | 196 #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,
|
H A D | power5-pmu.c | 211 #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,
|
H A D | power6-pmu.c | 309 #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,
|
H A D | isa207-common.c | 587 static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size) in find_alternative() 595 for (j = 0; j < MAX_ALT && ev_alt[i][j]; ++j) in find_alternative() 604 const unsigned int ev_alt[][MAX_ALT]) in isa207_get_alternatives() 613 for (j = 0; j < MAX_ALT; ++j) { in isa207_get_alternatives()
|
H A D | isa207-common.h | 246 #define MAX_ALT 2 macro 271 const unsigned int ev_alt[][MAX_ALT]);
|
H A D | power8-pmu.c | 98 static const unsigned int event_alternatives[][MAX_ALT] = { 362 .max_alternatives = MAX_ALT + 1,
|
H A D | power9-pmu.c | 135 static const unsigned int power9_event_alternatives[][MAX_ALT] = {
|
H A D | power10-pmu.c | 93 static const unsigned int power10_event_alternatives[][MAX_ALT] = {
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | mpc7450-pmu.c | 13 #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 D | power7-pmu.c | 118 #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 D | power5+-pmu.c | 196 #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 D | power5-pmu.c | 211 #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 D | power6-pmu.c | 310 #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,
|
H A D | isa207-common.c | 739 static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size) in find_alternative() 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() 765 for (j = 0; j < MAX_ALT; ++j) { in isa207_get_alternatives()
|
H A D | isa207-common.h | 255 #define MAX_ALT 2 macro 286 const unsigned int ev_alt[][MAX_ALT]);
|
H A D | power8-pmu.c | 98 static const unsigned int event_alternatives[][MAX_ALT] = { 372 .max_alternatives = MAX_ALT + 1,
|
H A D | generic-compat-pmu.c | 86 static const unsigned int generic_event_alternatives[][MAX_ALT] = {
|
H A D | power9-pmu.c | 135 static const unsigned int power9_event_alternatives[][MAX_ALT] = {
|
H A D | power10-pmu.c | 93 static const unsigned int power10_event_alternatives[][MAX_ALT] = {
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | gspca.c | 565 #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()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | gspca.c | 567 #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()
|