Home
last modified time | relevance | path

Searched refs:PM_PMC_SH (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/powerpc/perf/
Dpower5+-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
20 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
141 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_get_constraint()
191 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_limited_pmc_event()
247 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_bdecode()
255 (altpmc << PM_PMC_SH) | in find_alternative_bdecode()
262 return event + (2 << PM_PMC_SH) + (0x2e - 0x0d); in find_alternative_bdecode()
264 return event - (2 << PM_PMC_SH) - (0x2e - 0x0d); in find_alternative_bdecode()
269 (altpmc << PM_PMC_SH); in find_alternative_bdecode()
409 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_marked_instr_event()
[all …]
Dpower6-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
20 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
143 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power6_marked_instr_event()
189 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p6_compute_mmcr()
198 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; in p6_compute_mmcr()
275 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_get_constraint()
305 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_limited_pmc_event()
388 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_get_alternatives()
391 ((5 - pmc) << PM_PMC_SH); in p6_get_alternatives()
396 ((pmc > 2? pmc - 2: pmc + 2) << PM_PMC_SH); in p6_get_alternatives()
Dpower7-pmu.c18 #define PM_PMC_SH 16 /* PMC number (1-based) for direct events */ macro
20 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
89 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power7_get_constraint()
149 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_decode()
152 return event - (1 << PM_PMC_SH) + 8; in find_alternative_decode()
154 return event + (1 << PM_PMC_SH) - 8; in find_alternative_decode()
218 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power7_marked_instr_event()
259 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power7_compute_mmcr()
271 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power7_compute_mmcr()
Dpower5-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
20 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
146 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5_get_constraint()
255 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_bdecode()
263 (altpmc << PM_PMC_SH) | in find_alternative_bdecode()
345 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5_marked_instr_event()
407 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power5_compute_mmcr()
492 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power5_compute_mmcr()
Dmpc7450-pmu.c21 #define PM_PMC_SH 8 macro
41 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_classify_event()
81 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_threshold_use()
161 pmc = ((unsigned int)event >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_get_constraint()
290 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_compute_mmcr()
Dppc970-pmu.c17 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */ macro
150 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_marked_instr_event()
199 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_get_constraint()
283 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p970_compute_mmcr()
350 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p970_compute_mmcr()