/linux-4.1.27/arch/powerpc/perf/ |
H A D | ppc970-pmu.c | 259 static int p970_compute_mmcr(u64 event[], int n_ev, p970_compute_mmcr() argument 275 if (n_ev > 8) p970_compute_mmcr() 282 for (i = 0; i < n_ev; ++i) { p970_compute_mmcr() 349 for (i = 0; i < n_ev; ++i) { p970_compute_mmcr()
|
H A D | mpc7450-pmu.c | 263 static int mpc7450_compute_mmcr(u64 event[], int n_ev, unsigned int hwc[], mpc7450_compute_mmcr() argument 274 if (n_ev > N_COUNTER) mpc7450_compute_mmcr() 280 for (i = 0; i < n_ev; ++i) { mpc7450_compute_mmcr()
|
H A D | power7-pmu.c | 247 static int power7_compute_mmcr(u64 event[], int n_ev, power7_compute_mmcr() argument 257 for (i = 0; i < n_ev; ++i) { power7_compute_mmcr() 269 for (i = 0; i < n_ev; ++i) { power7_compute_mmcr()
|
H A D | power5+-pmu.c | 454 static int power5p_compute_mmcr(u64 event[], int n_ev, power5p_compute_mmcr() argument 467 if (n_ev > 6) power5p_compute_mmcr() 473 for (i = 0; i < n_ev; ++i) { power5p_compute_mmcr() 551 for (i = 0; i < n_ev; ++i) { power5p_compute_mmcr()
|
H A D | power5-pmu.c | 385 static int power5_compute_mmcr(u64 event[], int n_ev, power5_compute_mmcr() argument 399 if (n_ev > 6) power5_compute_mmcr() 406 for (i = 0; i < n_ev; ++i) { power5_compute_mmcr() 491 for (i = 0; i < n_ev; ++i) { power5_compute_mmcr()
|
H A D | power6-pmu.c | 177 static int p6_compute_mmcr(u64 event[], int n_ev, p6_compute_mmcr() argument 187 if (n_ev > 6) p6_compute_mmcr() 189 for (i = 0; i < n_ev; ++i) { p6_compute_mmcr() 197 for (i = 0; i < n_ev; ++i) { p6_compute_mmcr()
|
H A D | power4-pmu.c | 358 static int p4_compute_mmcr(u64 event[], int n_ev, p4_compute_mmcr() argument 371 if (n_ev > 8) p4_compute_mmcr() 378 for (i = 0; i < n_ev; ++i) { p4_compute_mmcr() 470 for (i = 0; i < n_ev; ++i) { p4_compute_mmcr()
|
H A D | power8-pmu.c | 401 static int power8_compute_mmcr(u64 event[], int n_ev, power8_compute_mmcr() argument 412 for (i = 0; i < n_ev; ++i) { power8_compute_mmcr() 423 for (i = 0; i < n_ev; ++i) { power8_compute_mmcr()
|
H A D | core-book3s.c | 830 int n_ev) power_check_constraints() 839 if (n_ev > ppmu->n_counter) power_check_constraints() 843 for (i = 0; i < n_ev; ++i) { power_check_constraints() 855 for (i = 0; i < n_ev; ++i) { power_check_constraints() 865 if (i == n_ev) power_check_constraints() 871 for (i = 0; i < n_ev; ++i) { power_check_constraints() 885 while (i < n_ev) { power_check_constraints() 930 for (i = 0; i < n_ev; ++i) power_check_constraints() 828 power_check_constraints(struct cpu_hw_events *cpuhw, u64 event_id[], unsigned int cflags[], int n_ev) power_check_constraints() argument
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | perf_event.c | 152 unsigned long *evtype, int n_ev) ev67_check_constraints() 159 if (n_ev == 1) ev67_check_constraints() 162 BUG_ON(n_ev != 2); ev67_check_constraints() 200 if (n_ev == 2) { ev67_check_constraints() 371 unsigned long *evtypes, int n_ev) alpha_check_constraints() 375 if (n_ev == 0) alpha_check_constraints() 378 if (n_ev > alpha_pmu->num_pmcs) alpha_check_constraints() 381 return alpha_pmu->check_constraints(events, evtypes, n_ev); alpha_check_constraints() 151 ev67_check_constraints(struct perf_event **event, unsigned long *evtype, int n_ev) ev67_check_constraints() argument 370 alpha_check_constraints(struct perf_event **events, unsigned long *evtypes, int n_ev) alpha_check_constraints() argument
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | perf_event.c | 1228 unsigned long *events, int n_ev) sparc_check_constraints() 1236 if (!n_ev) sparc_check_constraints() 1239 if (n_ev > sparc_pmu->max_hw_events) sparc_check_constraints() 1245 for (i = 0; i < n_ev; i++) sparc_check_constraints() 1251 if (n_ev == 1) { sparc_check_constraints() 1256 BUG_ON(n_ev != 2); sparc_check_constraints() 1294 if (n_ev == 2) sparc_check_constraints() 1227 sparc_check_constraints(struct perf_event **evts, unsigned long *events, int n_ev) sparc_check_constraints() argument
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | perf_event_server.h | 34 int (*compute_mmcr)(u64 events[], int n_ev,
|