Searched refs:n_ev (Results 1 – 12 of 12) sorted by relevance
/arch/alpha/kernel/ |
D | perf_event.c | 152 unsigned long *evtype, int n_ev) in ev67_check_constraints() argument 159 if (n_ev == 1) in ev67_check_constraints() 162 BUG_ON(n_ev != 2); in ev67_check_constraints() 200 if (n_ev == 2) { in ev67_check_constraints() 371 unsigned long *evtypes, int n_ev) in alpha_check_constraints() argument 375 if (n_ev == 0) in alpha_check_constraints() 378 if (n_ev > alpha_pmu->num_pmcs) in alpha_check_constraints() 381 return alpha_pmu->check_constraints(events, evtypes, n_ev); in alpha_check_constraints()
|
/arch/powerpc/perf/ |
D | ppc970-pmu.c | 259 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 | 177 static int p6_compute_mmcr(u64 event[], int n_ev, in p6_compute_mmcr() argument 187 if (n_ev > 6) in p6_compute_mmcr() 189 for (i = 0; i < n_ev; ++i) { in p6_compute_mmcr() 197 for (i = 0; i < n_ev; ++i) { in p6_compute_mmcr()
|
D | mpc7450-pmu.c | 263 static int mpc7450_compute_mmcr(u64 event[], int n_ev, unsigned int hwc[], in mpc7450_compute_mmcr() argument 274 if (n_ev > N_COUNTER) in mpc7450_compute_mmcr() 280 for (i = 0; i < n_ev; ++i) { in mpc7450_compute_mmcr()
|
D | power4-pmu.c | 358 static int p4_compute_mmcr(u64 event[], int n_ev, in p4_compute_mmcr() argument 371 if (n_ev > 8) in p4_compute_mmcr() 378 for (i = 0; i < n_ev; ++i) { in p4_compute_mmcr() 470 for (i = 0; i < n_ev; ++i) { in p4_compute_mmcr()
|
D | power5-pmu.c | 385 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 | 454 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 | 247 static int power7_compute_mmcr(u64 event[], int n_ev, in power7_compute_mmcr() argument 257 for (i = 0; i < n_ev; ++i) { in power7_compute_mmcr() 269 for (i = 0; i < n_ev; ++i) { in power7_compute_mmcr()
|
D | power8-pmu.c | 401 static int power8_compute_mmcr(u64 event[], int n_ev, in power8_compute_mmcr() argument 412 for (i = 0; i < n_ev; ++i) { in power8_compute_mmcr() 423 for (i = 0; i < n_ev; ++i) { in power8_compute_mmcr()
|
D | core-book3s.c | 844 int n_ev) in power_check_constraints() argument 853 if (n_ev > ppmu->n_counter) in power_check_constraints() 857 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 869 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 879 if (i == n_ev) in power_check_constraints() 885 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 899 while (i < n_ev) { in power_check_constraints() 944 for (i = 0; i < n_ev; ++i) in power_check_constraints()
|
/arch/powerpc/include/asm/ |
D | perf_event_server.h | 34 int (*compute_mmcr)(u64 events[], int n_ev,
|
/arch/sparc/kernel/ |
D | perf_event.c | 1241 unsigned long *events, int n_ev) in sparc_check_constraints() argument 1249 if (!n_ev) in sparc_check_constraints() 1252 if (n_ev > sparc_pmu->max_hw_events) in sparc_check_constraints() 1258 for (i = 0; i < n_ev; i++) in sparc_check_constraints() 1264 if (n_ev == 1) { in sparc_check_constraints() 1269 BUG_ON(n_ev != 2); in sparc_check_constraints() 1307 if (n_ev == 2) in sparc_check_constraints()
|