/Linux-v6.6/arch/alpha/kernel/ |
D | perf_event.c | 153 unsigned long *evtype, int n_ev) in ev67_check_constraints() argument 160 if (n_ev == 1) in ev67_check_constraints() 163 BUG_ON(n_ev != 2); in ev67_check_constraints() 201 if (n_ev == 2) { in ev67_check_constraints() 372 unsigned long *evtypes, int n_ev) in alpha_check_constraints() argument 376 if (n_ev == 0) in alpha_check_constraints() 379 if (n_ev > alpha_pmu->num_pmcs) in alpha_check_constraints() 382 return alpha_pmu->check_constraints(events, evtypes, n_ev); in alpha_check_constraints()
|
/Linux-v6.6/arch/powerpc/perf/ |
D | ppc970-pmu.c | 257 static int p970_compute_mmcr(u64 event[], int n_ev, in p970_compute_mmcr() argument 275 if (n_ev > 8) in p970_compute_mmcr() 282 for (i = 0; i < n_ev; ++i) { in p970_compute_mmcr() 349 for (i = 0; i < n_ev; ++i) { in p970_compute_mmcr()
|
D | power6-pmu.c | 175 static int p6_compute_mmcr(u64 event[], int n_ev, in p6_compute_mmcr() argument 186 if (n_ev > 6) in p6_compute_mmcr() 188 for (i = 0; i < n_ev; ++i) { in p6_compute_mmcr() 196 for (i = 0; i < n_ev; ++i) { in p6_compute_mmcr()
|
D | mpc7450-pmu.c | 259 static int mpc7450_compute_mmcr(u64 event[], int n_ev, unsigned int hwc[], in mpc7450_compute_mmcr() argument 271 if (n_ev > N_COUNTER) in mpc7450_compute_mmcr() 277 for (i = 0; i < n_ev; ++i) { in mpc7450_compute_mmcr()
|
D | power5-pmu.c | 383 static int power5_compute_mmcr(u64 event[], int n_ev, in power5_compute_mmcr() argument 399 if (n_ev > 6) in power5_compute_mmcr() 406 for (i = 0; i < n_ev; ++i) { in power5_compute_mmcr() 491 for (i = 0; i < n_ev; ++i) { in power5_compute_mmcr()
|
D | power5+-pmu.c | 452 static int power5p_compute_mmcr(u64 event[], int n_ev, in power5p_compute_mmcr() argument 467 if (n_ev > 6) in power5p_compute_mmcr() 473 for (i = 0; i < n_ev; ++i) { in power5p_compute_mmcr() 551 for (i = 0; i < n_ev; ++i) { in power5p_compute_mmcr()
|
D | power7-pmu.c | 246 static int power7_compute_mmcr(u64 event[], int n_ev, in power7_compute_mmcr() argument 258 for (i = 0; i < n_ev; ++i) { in power7_compute_mmcr() 270 for (i = 0; i < n_ev; ++i) { in power7_compute_mmcr()
|
D | generic-compat-pmu.c | 292 static int generic_compute_mmcr(u64 event[], int n_ev, in generic_compute_mmcr() argument 298 ret = isa207_compute_mmcr(event, n_ev, hwc, mmcr, pevents, flags); in generic_compute_mmcr()
|
D | core-book3s.c | 971 int n_ev, struct perf_event **event) in power_check_constraints() argument 982 if (n_ev > ppmu->n_counter) in power_check_constraints() 986 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 998 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 1012 if (i == n_ev) { in power_check_constraints() 1022 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 1037 while (i < n_ev) { in power_check_constraints() 1082 for (i = 0; i < n_ev; ++i) in power_check_constraints()
|
D | isa207-common.c | 558 int isa207_compute_mmcr(u64 event[], int n_ev, in isa207_compute_mmcr() argument 570 for (i = 0; i < n_ev; ++i) { in isa207_compute_mmcr() 586 for (i = 0; i < n_ev; ++i) { in isa207_compute_mmcr()
|
D | power10-pmu.c | 568 static int power10_compute_mmcr(u64 event[], int n_ev, in power10_compute_mmcr() argument 574 ret = isa207_compute_mmcr(event, n_ev, hwc, mmcr, pevents, flags); in power10_compute_mmcr()
|
D | isa207-common.h | 281 int isa207_compute_mmcr(u64 event[], int n_ev,
|
/Linux-v6.6/arch/sparc/kernel/ |
D | perf_event.c | 1243 unsigned long *events, int n_ev) in sparc_check_constraints() argument 1251 if (!n_ev) in sparc_check_constraints() 1254 if (n_ev > sparc_pmu->max_hw_events) in sparc_check_constraints() 1260 for (i = 0; i < n_ev; i++) in sparc_check_constraints() 1266 if (n_ev == 1) { in sparc_check_constraints() 1271 BUG_ON(n_ev != 2); in sparc_check_constraints() 1309 if (n_ev == 2) in sparc_check_constraints()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | perf_event_server.h | 37 int (*compute_mmcr)(u64 events[], int n_ev,
|