Home
last modified time | relevance | path

Searched refs:n_ev (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/arch/alpha/kernel/
Dperf_event.c153 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-v4.19/arch/powerpc/perf/
Dpower6-pmu.c177 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()
Dppc970-pmu.c259 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()
Dmpc7450-pmu.c263 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()
Dpower5-pmu.c385 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()
Dpower5+-pmu.c454 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()
Dpower7-pmu.c247 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()
Disa207-common.c348 int isa207_compute_mmcr(u64 event[], int n_ev, in isa207_compute_mmcr() argument
359 for (i = 0; i < n_ev; ++i) { in isa207_compute_mmcr()
368 for (i = 0; i < n_ev; ++i) { in isa207_compute_mmcr()
Dcore-book3s.c859 int n_ev) in power_check_constraints() argument
868 if (n_ev > ppmu->n_counter) in power_check_constraints()
872 for (i = 0; i < n_ev; ++i) { in power_check_constraints()
884 for (i = 0; i < n_ev; ++i) { in power_check_constraints()
894 if (i == n_ev) in power_check_constraints()
900 for (i = 0; i < n_ev; ++i) { in power_check_constraints()
914 while (i < n_ev) { in power_check_constraints()
959 for (i = 0; i < n_ev; ++i) in power_check_constraints()
Disa207-common.h218 int isa207_compute_mmcr(u64 event[], int n_ev,
/Linux-v4.19/arch/powerpc/include/asm/
Dperf_event_server.h34 int (*compute_mmcr)(u64 events[], int n_ev,
/Linux-v4.19/arch/sparc/kernel/
Dperf_event.c1239 unsigned long *events, int n_ev) in sparc_check_constraints() argument
1247 if (!n_ev) in sparc_check_constraints()
1250 if (n_ev > sparc_pmu->max_hw_events) in sparc_check_constraints()
1256 for (i = 0; i < n_ev; i++) in sparc_check_constraints()
1262 if (n_ev == 1) { in sparc_check_constraints()
1267 BUG_ON(n_ev != 2); in sparc_check_constraints()
1305 if (n_ev == 2) in sparc_check_constraints()