Searched refs:PM_PMC_SH (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/arch/powerpc/perf/
H A Dpower7-pmu.c20 #define PM_PMC_SH 16 /* PMC number (1-based) for direct events */ macro
22 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
91 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power7_get_constraint()
151 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; find_alternative_decode()
154 return event - (1 << PM_PMC_SH) + 8; find_alternative_decode()
156 return event + (1 << PM_PMC_SH) - 8; find_alternative_decode()
220 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power7_marked_instr_event()
258 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power7_compute_mmcr()
270 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power7_compute_mmcr()
H A Dpower5+-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
22 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
143 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power5p_get_constraint()
193 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power5p_limited_pmc_event()
249 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; find_alternative_bdecode()
257 (altpmc << PM_PMC_SH) | find_alternative_bdecode()
264 return event + (2 << PM_PMC_SH) + (0x2e - 0x0d); find_alternative_bdecode()
266 return event - (2 << PM_PMC_SH) - (0x2e - 0x0d); find_alternative_bdecode()
271 (altpmc << PM_PMC_SH); find_alternative_bdecode()
411 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power5p_marked_instr_event()
474 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power5p_compute_mmcr()
552 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power5p_compute_mmcr()
H A Dpower6-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
22 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
145 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power6_marked_instr_event()
190 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; p6_compute_mmcr()
199 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; p6_compute_mmcr()
276 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p6_get_constraint()
306 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p6_limited_pmc_event()
389 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p6_get_alternatives()
392 ((5 - pmc) << PM_PMC_SH); p6_get_alternatives()
397 ((pmc > 2? pmc - 2: pmc + 2) << PM_PMC_SH); p6_get_alternatives()
H A Dmpc7450-pmu.c25 #define PM_PMC_SH 8 macro
45 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; mpc7450_classify_event()
85 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; mpc7450_threshold_use()
165 pmc = ((unsigned int)event >> PM_PMC_SH) & PM_PMC_MSK; mpc7450_get_constraint()
293 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; mpc7450_compute_mmcr()
H A Dpower5-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
22 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
148 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power5_get_constraint()
257 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; find_alternative_bdecode()
265 (altpmc << PM_PMC_SH) | find_alternative_bdecode()
347 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; power5_marked_instr_event()
407 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power5_compute_mmcr()
492 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; power5_compute_mmcr()
H A Dppc970-pmu.c19 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */ macro
152 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p970_marked_instr_event()
201 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p970_get_constraint()
283 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; p970_compute_mmcr()
350 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; p970_compute_mmcr()
H A Dpower4-pmu.c20 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */ macro
223 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p4_marked_instr_event()
261 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; p4_get_constraint()
379 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; p4_compute_mmcr()
471 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; p4_compute_mmcr()

Completed in 121 milliseconds