Home
last modified time | relevance | path

Searched refs:pvr (Results 1 – 4 of 4) 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/ptrace/
Dptrace-hwbreak.c623 int pvr = 0; in main() local
624 asm __volatile__ ("mfspr %0,%1" : "=r"(pvr) : "i"(SPRN_PVR)); in main()
625 if (pvr == PVR_8xx) in main()
/tools/arch/powerpc/include/uapi/asm/
Dkvm.h177 __u32 pvr; member