Searched refs:n_ev (Results 1 – 11 of 11) sorted by relevance
/linux-2.6.39/arch/alpha/kernel/ |
D | perf_event.c | 150 unsigned long *evtype, int n_ev) in ev67_check_constraints() argument 157 if (n_ev == 1) in ev67_check_constraints() 160 BUG_ON(n_ev != 2); in ev67_check_constraints() 198 if (n_ev == 2) { in ev67_check_constraints() 362 unsigned long *evtypes, int n_ev) in alpha_check_constraints() argument 366 if (n_ev == 0) in alpha_check_constraints() 369 if (n_ev > alpha_pmu->num_pmcs) in alpha_check_constraints() 372 return alpha_pmu->check_constraints(events, evtypes, n_ev); in alpha_check_constraints()
|
/linux-2.6.39/arch/powerpc/kernel/ |
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 | 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 | 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 | mpc7450-pmu.c | 263 static int mpc7450_compute_mmcr(u64 event[], int n_ev, in mpc7450_compute_mmcr() argument 273 if (n_ev > N_COUNTER) in mpc7450_compute_mmcr() 279 for (i = 0; i < n_ev; ++i) { in mpc7450_compute_mmcr()
|
D | power7-pmu.c | 225 static int power7_compute_mmcr(u64 event[], int n_ev, in power7_compute_mmcr() argument 235 for (i = 0; i < n_ev; ++i) { in power7_compute_mmcr() 247 for (i = 0; i < n_ev; ++i) { in power7_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 | perf_event.c | 253 int n_ev) in power_check_constraints() argument 262 if (n_ev > ppmu->n_counter) in power_check_constraints() 266 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 278 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 288 if (i == n_ev) in power_check_constraints() 294 for (i = 0; i < n_ev; ++i) { in power_check_constraints() 308 while (i < n_ev) { in power_check_constraints() 353 for (i = 0; i < n_ev; ++i) in power_check_constraints()
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | perf_event_server.h | 29 int (*compute_mmcr)(u64 events[], int n_ev,
|
/linux-2.6.39/arch/sparc/kernel/ |
D | perf_event.c | 889 unsigned long *events, int n_ev) in sparc_check_constraints() argument 897 if (!n_ev) in sparc_check_constraints() 900 if (n_ev > MAX_HWEVENTS) in sparc_check_constraints() 904 if (n_ev == 1) { in sparc_check_constraints() 909 BUG_ON(n_ev != 2); in sparc_check_constraints() 947 if (n_ev == 2) in sparc_check_constraints()
|