Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/perf/
Dpower6-pmu.c16 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
18 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
141 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power6_marked_instr_event()
186 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p6_compute_mmcr()
195 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; in p6_compute_mmcr()
272 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_get_constraint()
302 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_limited_pmc_event()
385 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_get_alternatives()
388 ((5 - pmc) << PM_PMC_SH); in p6_get_alternatives()
393 ((pmc > 2? pmc - 2: pmc + 2) << PM_PMC_SH); in p6_get_alternatives()
Dpower5+-pmu.c16 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
18 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
139 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_get_constraint()
189 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_limited_pmc_event()
245 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_bdecode()
253 (altpmc << PM_PMC_SH) | in find_alternative_bdecode()
260 return event + (2 << PM_PMC_SH) + (0x2e - 0x0d); in find_alternative_bdecode()
262 return event - (2 << PM_PMC_SH) - (0x2e - 0x0d); in find_alternative_bdecode()
267 (altpmc << PM_PMC_SH); in find_alternative_bdecode()
407 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_marked_instr_event()
[all …]
Dpower7-pmu.c16 #define PM_PMC_SH 16 /* PMC number (1-based) for direct events */ macro
18 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
87 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power7_get_constraint()
147 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_decode()
150 return event - (1 << PM_PMC_SH) + 8; in find_alternative_decode()
152 return event + (1 << PM_PMC_SH) - 8; in find_alternative_decode()
216 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power7_marked_instr_event()
255 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power7_compute_mmcr()
267 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power7_compute_mmcr()
Dpower5-pmu.c16 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ macro
18 #define PM_PMC_MSKS (PM_PMC_MSK << PM_PMC_SH)
144 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5_get_constraint()
253 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_bdecode()
261 (altpmc << PM_PMC_SH) | in find_alternative_bdecode()
343 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5_marked_instr_event()
403 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in power5_compute_mmcr()
488 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()
289 pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_compute_mmcr()
Dppc970-pmu.c15 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */ macro
148 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_marked_instr_event()
197 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_get_constraint()
279 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p970_compute_mmcr()
346 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p970_compute_mmcr()