Searched refs:pvr (Results 1 – 7 of 7) sorted by relevance
12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument13 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revision field */ argument
17 unsigned long pvr; in get_cpuid() local20 pvr = mfspr(SPRN_PVR); in get_cpuid()22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
59 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) argument62 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument63 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument64 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
36 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()
22 int pvr; variable61 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()
84 SKIP_IF(PVR_VER(pvr) != POWER9); in check_for_power9_version()85 SKIP_IF(!(pvr & PVR_POWER9_CUMULUS)); in check_for_power9_version()
177 __u32 pvr; member