Home
last modified time | relevance | path

Searched refs:pvr (Results 1 – 7 of 7) sorted by relevance

/tools/perf/arch/powerpc/util/
Dutils_header.h12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument
13 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revision field */ argument
Dheader.c17 unsigned long pvr; in get_cpuid() local
20 pvr = mfspr(SPRN_PVR); in get_cpuid()
22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
/tools/testing/selftests/powerpc/include/
Dreg.h59 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) argument
62 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument
63 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument
64 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmisc.h36 extern int pvr;
168 if (pvr == POWER10) in get_mmcr2_l2l3()
175 if (pvr != POWER10) in get_mmcr3_src()
182 if (pvr == POWER10) in get_mmcra_thd_cmp()
194 if (pvr == POWER10) in get_mmcra_bhrb_disable()
Dmisc.c22 int pvr; variable
61 switch (pvr) { in init_ev_encodes()
126 pvr = PVR_VER(mfspr(SPRN_PVR)); in platform_check_for_tests()
132 if ((pvr != POWER10) && (pvr != POWER9)) in platform_check_for_tests()
/tools/testing/selftests/powerpc/pmu/event_code_tests/
Dblacklisted_events_test.c84 SKIP_IF(PVR_VER(pvr) != POWER9); in check_for_power9_version()
85 SKIP_IF(!(pvr & PVR_POWER9_CUMULUS)); in check_for_power9_version()
/tools/arch/powerpc/include/uapi/asm/
Dkvm.h177 __u32 pvr; member