pvr 19 arch/microblaze/include/asm/pvr.h unsigned pvr[12]; pvr 125 arch/microblaze/include/asm/pvr.h #define PVR_IS_FULL(_pvr) (_pvr.pvr[0] & PVR0_PVR_FULL_MASK) pvr 126 arch/microblaze/include/asm/pvr.h #define PVR_USE_BARREL(_pvr) (_pvr.pvr[0] & PVR0_USE_BARREL_MASK) pvr 127 arch/microblaze/include/asm/pvr.h #define PVR_USE_DIV(_pvr) (_pvr.pvr[0] & PVR0_USE_DIV_MASK) pvr 128 arch/microblaze/include/asm/pvr.h #define PVR_USE_HW_MUL(_pvr) (_pvr.pvr[0] & PVR0_USE_HW_MUL_MASK) pvr 129 arch/microblaze/include/asm/pvr.h #define PVR_USE_FPU(_pvr) (_pvr.pvr[0] & PVR0_USE_FPU_MASK) pvr 130 arch/microblaze/include/asm/pvr.h #define PVR_USE_FPU2(_pvr) (_pvr.pvr[2] & PVR2_USE_FPU2_MASK) pvr 131 arch/microblaze/include/asm/pvr.h #define PVR_USE_ICACHE(_pvr) (_pvr.pvr[0] & PVR0_USE_ICACHE_MASK) pvr 132 arch/microblaze/include/asm/pvr.h #define PVR_USE_DCACHE(_pvr) (_pvr.pvr[0] & PVR0_USE_DCACHE_MASK) pvr 133 arch/microblaze/include/asm/pvr.h #define PVR_VERSION(_pvr) ((_pvr.pvr[0] & PVR0_VERSION_MASK) >> 8) pvr 134 arch/microblaze/include/asm/pvr.h #define PVR_USER1(_pvr) (_pvr.pvr[0] & PVR0_USER1_MASK) pvr 135 arch/microblaze/include/asm/pvr.h #define PVR_USER2(_pvr) (_pvr.pvr[1] & PVR1_USER2_MASK) pvr 137 arch/microblaze/include/asm/pvr.h #define PVR_D_OPB(_pvr) (_pvr.pvr[2] & PVR2_D_OPB_MASK) pvr 138 arch/microblaze/include/asm/pvr.h #define PVR_D_LMB(_pvr) (_pvr.pvr[2] & PVR2_D_LMB_MASK) pvr 139 arch/microblaze/include/asm/pvr.h #define PVR_I_OPB(_pvr) (_pvr.pvr[2] & PVR2_I_OPB_MASK) pvr 140 arch/microblaze/include/asm/pvr.h #define PVR_I_LMB(_pvr) (_pvr.pvr[2] & PVR2_I_LMB_MASK) pvr 142 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_INTERRUPT_IS_EDGE_MASK) pvr 144 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_EDGE_IS_POSITIVE_MASK) pvr 145 arch/microblaze/include/asm/pvr.h #define PVR_USE_MSR_INSTR(_pvr) (_pvr.pvr[2] & PVR2_USE_MSR_INSTR) pvr 146 arch/microblaze/include/asm/pvr.h #define PVR_USE_PCMP_INSTR(_pvr) (_pvr.pvr[2] & PVR2_USE_PCMP_INSTR) pvr 147 arch/microblaze/include/asm/pvr.h #define PVR_AREA_OPTIMISED(_pvr) (_pvr.pvr[2] & PVR2_AREA_OPTIMISED) pvr 148 arch/microblaze/include/asm/pvr.h #define PVR_USE_MUL64(_pvr) (_pvr.pvr[2] & PVR2_USE_MUL64_MASK) pvr 150 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_OPCODE_0x0_ILL_MASK) pvr 152 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_UNALIGNED_EXC_MASK) pvr 154 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_ILL_OPCODE_EXC_MASK) pvr 156 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_IOPB_BUS_EXC_MASK) pvr 158 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_DOPB_BUS_EXC_MASK) pvr 160 arch/microblaze/include/asm/pvr.h (_pvr.pvr[2] & PVR2_DIV_ZERO_EXC_MASK) pvr 161 arch/microblaze/include/asm/pvr.h #define PVR_FPU_EXCEPTION(_pvr) (_pvr.pvr[2] & PVR2_FPU_EXC_MASK) pvr 162 arch/microblaze/include/asm/pvr.h #define PVR_FSL_EXCEPTION(_pvr) (_pvr.pvr[2] & PVR2_USE_EXTEND_FSL) pvr 164 arch/microblaze/include/asm/pvr.h #define PVR_DEBUG_ENABLED(_pvr) (_pvr.pvr[3] & PVR3_DEBUG_ENABLED_MASK) pvr 166 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[3] & PVR3_NUMBER_OF_PC_BRK_MASK) >> 25) pvr 168 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[3] & PVR3_NUMBER_OF_RD_ADDR_BRK_MASK) >> 19) pvr 170 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[3] & PVR3_NUMBER_OF_WR_ADDR_BRK_MASK) >> 13) pvr 171 arch/microblaze/include/asm/pvr.h #define PVR_FSL_LINKS(_pvr) ((_pvr.pvr[3] & PVR3_FSL_LINKS_MASK) >> 7) pvr 174 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[4] & PVR4_ICACHE_ADDR_TAG_BITS_MASK) >> 26) pvr 176 arch/microblaze/include/asm/pvr.h (_pvr.pvr[4] & PVR4_ICACHE_USE_FSL_MASK) pvr 178 arch/microblaze/include/asm/pvr.h (_pvr.pvr[4] & PVR4_ICACHE_ALLOW_WR_MASK) pvr 180 arch/microblaze/include/asm/pvr.h (1 << ((_pvr.pvr[4] & PVR4_ICACHE_LINE_LEN_MASK) >> 21)) pvr 182 arch/microblaze/include/asm/pvr.h (1 << ((_pvr.pvr[4] & PVR4_ICACHE_BYTE_SIZE_MASK) >> 16)) pvr 185 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[5] & PVR5_DCACHE_ADDR_TAG_BITS_MASK) >> 26) pvr 186 arch/microblaze/include/asm/pvr.h #define PVR_DCACHE_USE_FSL(_pvr) (_pvr.pvr[5] & PVR5_DCACHE_USE_FSL_MASK) pvr 188 arch/microblaze/include/asm/pvr.h (_pvr.pvr[5] & PVR5_DCACHE_ALLOW_WR_MASK) pvr 191 arch/microblaze/include/asm/pvr.h (1 << ((_pvr.pvr[5] & PVR5_DCACHE_LINE_LEN_MASK) >> 21)) pvr 193 arch/microblaze/include/asm/pvr.h (1 << ((_pvr.pvr[5] & PVR5_DCACHE_BYTE_SIZE_MASK) >> 16)) pvr 196 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[5] & PVR5_DCACHE_USE_WRITEBACK) >> 14) pvr 199 arch/microblaze/include/asm/pvr.h (_pvr.pvr[6] & PVR6_ICACHE_BASEADDR_MASK) pvr 201 arch/microblaze/include/asm/pvr.h (_pvr.pvr[7] & PVR7_ICACHE_HIGHADDR_MASK) pvr 203 arch/microblaze/include/asm/pvr.h (_pvr.pvr[8] & PVR8_DCACHE_BASEADDR_MASK) pvr 205 arch/microblaze/include/asm/pvr.h (_pvr.pvr[9] & PVR9_DCACHE_HIGHADDR_MASK) pvr 208 arch/microblaze/include/asm/pvr.h ((_pvr.pvr[10] & PVR10_TARGET_FAMILY_MASK) >> 24) pvr 211 arch/microblaze/include/asm/pvr.h (_pvr.pvr[11] & PVR11_MSR_RESET_VALUE_MASK) pvr 214 arch/microblaze/include/asm/pvr.h #define PVR_USE_MMU(_pvr) ((_pvr.pvr[11] & PVR11_USE_MMU) >> 30) pvr 215 arch/microblaze/include/asm/pvr.h #define PVR_MMU_ITLB_SIZE(_pvr) (_pvr.pvr[11] & PVR11_MMU_ITLB_SIZE) pvr 216 arch/microblaze/include/asm/pvr.h #define PVR_MMU_DTLB_SIZE(_pvr) (_pvr.pvr[11] & PVR11_MMU_DTLB_SIZE) pvr 217 arch/microblaze/include/asm/pvr.h #define PVR_MMU_TLB_ACCESS(_pvr) (_pvr.pvr[11] & PVR11_MMU_TLB_ACCESS) pvr 218 arch/microblaze/include/asm/pvr.h #define PVR_MMU_ZONES(_pvr) (_pvr.pvr[11] & PVR11_MMU_ZONES) pvr 219 arch/microblaze/include/asm/pvr.h #define PVR_MMU_PRIVINS(pvr) (pvr.pvr[11] & PVR11_MMU_PRIVINS) pvr 222 arch/microblaze/include/asm/pvr.h #define PVR_ENDIAN(_pvr) (_pvr.pvr[0] & PVR0_ENDI) pvr 225 arch/microblaze/include/asm/pvr.h void get_pvr(struct pvr_s *pvr); pvr 23 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c #define CI(c, p) { ci->c = PVR_##p(pvr); } pvr 35 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c struct pvr_s pvr; pvr 37 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c get_pvr(&pvr); pvr 45 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | pvr 46 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_USE_PCMP_INSTR(pvr) | PVR_USE_DIV(pvr); pvr 51 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); pvr 56 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); pvr 61 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) | pvr 62 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_UNALIGNED_EXCEPTION(pvr) | pvr 63 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_ILL_OPCODE_EXCEPTION(pvr) | pvr 64 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_IOPB_BUS_EXCEPTION(pvr) | pvr 65 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_DOPB_BUS_EXCEPTION(pvr) | pvr 66 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_DIV_ZERO_EXCEPTION(pvr) | pvr 67 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_FPU_EXCEPTION(pvr) | pvr 68 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c PVR_FSL_EXCEPTION(pvr); pvr 80 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->icache_line_length = PVR_ICACHE_LINE_LEN(pvr) << 2; pvr 88 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->dcache_line_length = PVR_DCACHE_LINE_LEN(pvr) << 2; pvr 93 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_DCACHE_USE_WRITEBACK(pvr); pvr 68 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(0, p->pvr[0]); pvr 69 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(1, p->pvr[1]); pvr 70 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(2, p->pvr[2]); pvr 71 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(3, p->pvr[3]); pvr 72 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(4, p->pvr[4]); pvr 73 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(5, p->pvr[5]); pvr 74 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(6, p->pvr[6]); pvr 75 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(7, p->pvr[7]); pvr 76 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(8, p->pvr[8]); pvr 77 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(9, p->pvr[9]); pvr 78 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(10, p->pvr[10]); pvr 79 arch/microblaze/kernel/cpu/pvr.c get_single_pvr(11, p->pvr[11]); pvr 35 arch/microblaze/kernel/kgdb.c static struct pvr_s pvr; pvr 53 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_PVR + i] = pvr.pvr[i]; pvr 105 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_PVR + i] = pvr.pvr[i]; pvr 134 arch/microblaze/kernel/kgdb.c get_pvr(&pvr); /* Fill PVR structure */ pvr 26 arch/powerpc/boot/4xx.c unsigned long pvr; pvr 28 arch/powerpc/boot/4xx.c pvr = mfpvr(); pvr 30 arch/powerpc/boot/4xx.c switch (pvr & 0xf0000ff0) { pvr 10 arch/powerpc/boot/reg.h u32 pvr; pvr 11 arch/powerpc/boot/reg.h asm volatile ("mfpvr %0" : "=r"(pvr)); pvr 12 arch/powerpc/boot/reg.h return pvr; pvr 117 arch/powerpc/include/asm/cputable.h extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr); pvr 118 arch/powerpc/include/asm/cputable.h extern void identify_cpu_name(unsigned int pvr); pvr 624 arch/powerpc/include/asm/kvm_host.h u32 pvr; pvr 1237 arch/powerpc/include/asm/reg.h #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ pvr 1238 arch/powerpc/include/asm/reg.h #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ pvr 1240 arch/powerpc/include/asm/reg.h #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) pvr 1247 arch/powerpc/include/asm/reg.h #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ pvr 1248 arch/powerpc/include/asm/reg.h #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ pvr 1249 arch/powerpc/include/asm/reg.h #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ pvr 1250 arch/powerpc/include/asm/reg.h #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ pvr 1251 arch/powerpc/include/asm/reg.h #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ pvr 1252 arch/powerpc/include/asm/reg.h #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ pvr 177 arch/powerpc/include/uapi/asm/kvm.h __u32 pvr; pvr 2230 arch/powerpc/kernel/cputable.c struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr) pvr 2238 arch/powerpc/kernel/cputable.c if ((pvr & s->pvr_mask) == s->pvr_value) pvr 2252 arch/powerpc/kernel/cputable.c void __init identify_cpu_name(unsigned int pvr) pvr 2262 arch/powerpc/kernel/cputable.c if ((pvr & s->pvr_mask) == s->pvr_value) { pvr 698 arch/powerpc/kernel/dt_cpu_ftrs.c static __init void update_tlbie_feature_flag(unsigned long pvr) pvr 700 arch/powerpc/kernel/dt_cpu_ftrs.c if (PVR_VER(pvr) == PVR_POWER9) { pvr 705 arch/powerpc/kernel/dt_cpu_ftrs.c if ((pvr & 0xe000) == 0) { pvr 707 arch/powerpc/kernel/dt_cpu_ftrs.c if ((pvr & 0xfff) < 0x203) pvr 709 arch/powerpc/kernel/dt_cpu_ftrs.c } else if ((pvr & 0xc000) == 0) { pvr 711 arch/powerpc/kernel/dt_cpu_ftrs.c if ((pvr & 0xfff) < 0x103) pvr 583 arch/powerpc/kernel/mce.c int pvr; pvr 607 arch/powerpc/kernel/mce.c pvr = mfspr(SPRN_PVR); pvr 609 arch/powerpc/kernel/mce.c if ((PVR_VER(pvr) == PVR_POWER9) && (pvr & 0xe000) == 0) { pvr 611 arch/powerpc/kernel/mce.c if ((pvr & 0xfff) >= 0x202) pvr 614 arch/powerpc/kernel/mce.c else if ((pvr & 0xfff) >= 0x200) pvr 271 arch/powerpc/kernel/prom.c unsigned int pvr; pvr 282 arch/powerpc/kernel/prom.c pvr = cur_cpu_spec->pvr_value | 0x8; pvr 283 arch/powerpc/kernel/prom.c identify_cpu(0, pvr); pvr 284 arch/powerpc/kernel/prom.c DBG("Using logical pvr %x for %s\n", pvr, model); pvr 229 arch/powerpc/kernel/setup-common.c unsigned int pvr; pvr 235 arch/powerpc/kernel/setup-common.c pvr = per_cpu(cpu_pvr, cpu_id); pvr 237 arch/powerpc/kernel/setup-common.c pvr = mfspr(SPRN_PVR); pvr 239 arch/powerpc/kernel/setup-common.c maj = (pvr >> 8) & 0xFF; pvr 240 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; pvr 248 arch/powerpc/kernel/setup-common.c seq_printf(m, "unknown (%08x)", pvr); pvr 291 arch/powerpc/kernel/setup-common.c if (PVR_VER(pvr) & 0x8000) { pvr 292 arch/powerpc/kernel/setup-common.c switch (PVR_VER(pvr)) { pvr 299 arch/powerpc/kernel/setup-common.c maj = ((pvr >> 8) & 0xF); pvr 300 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); pvr 303 arch/powerpc/kernel/setup-common.c maj = PVR_MAJ(pvr); pvr 304 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); pvr 308 arch/powerpc/kernel/setup-common.c switch (PVR_VER(pvr)) { pvr 310 arch/powerpc/kernel/setup-common.c maj = PVR_MAJ(pvr) + 1; pvr 311 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); pvr 314 arch/powerpc/kernel/setup-common.c maj = ((pvr >> 8) & 0xFF) - 1; pvr 315 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; pvr 318 arch/powerpc/kernel/setup-common.c maj = (pvr >> 8) & 0x0F; pvr 319 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; pvr 322 arch/powerpc/kernel/setup-common.c maj = (pvr >> 8) & 0xFF; pvr 323 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; pvr 329 arch/powerpc/kernel/setup-common.c maj, min, PVR_VER(pvr), PVR_REV(pvr)); pvr 572 arch/powerpc/kernel/setup_64.c u32 pvr; pvr 582 arch/powerpc/kernel/setup_64.c pvr = PVR_VER(mfspr(SPRN_PVR)); pvr 583 arch/powerpc/kernel/setup_64.c if (pvr == PVR_POWER8 || pvr == PVR_POWER8E || pvr 584 arch/powerpc/kernel/setup_64.c pvr == PVR_POWER8NVL) { pvr 610 arch/powerpc/kernel/traps.c unsigned long pvr = mfspr(SPRN_PVR); pvr 657 arch/powerpc/kernel/traps.c if (PVR_VER(pvr) != PVR_VER_E6500) { pvr 727 arch/powerpc/kvm/book3s_emulate.c switch (vcpu->arch.pvr) { pvr 353 arch/powerpc/kvm/book3s_hv.c static void kvmppc_set_pvr_hv(struct kvm_vcpu *vcpu, u32 pvr) pvr 355 arch/powerpc/kvm/book3s_hv.c vcpu->arch.pvr = pvr; pvr 1543 arch/powerpc/kvm/book3s_hv.c sregs->pvr = vcpu->arch.pvr; pvr 1558 arch/powerpc/kvm/book3s_hv.c if (sregs->pvr != vcpu->arch.pvr) pvr 5543 arch/powerpc/kvm/book3s_hv.c unsigned int pvr = mfspr(SPRN_PVR); pvr 5544 arch/powerpc/kvm/book3s_hv.c if ((pvr >> 16) == PVR_POWER9 && pvr 5545 arch/powerpc/kvm/book3s_hv.c (((pvr & 0xe000) == 0 && (pvr & 0xfff) < 0x202) || pvr 5546 arch/powerpc/kvm/book3s_hv.c ((pvr & 0xe000) == 0x2000 && (pvr & 0xfff) < 0x101))) pvr 536 arch/powerpc/kvm/book3s_pr.c void kvmppc_set_pvr_pr(struct kvm_vcpu *vcpu, u32 pvr) pvr 541 arch/powerpc/kvm/book3s_pr.c vcpu->arch.pvr = pvr; pvr 543 arch/powerpc/kvm/book3s_pr.c if ((pvr >= 0x330000) && (pvr < 0x70330000)) { pvr 580 arch/powerpc/kvm/book3s_pr.c switch (PVR_VER(pvr)) { pvr 1445 arch/powerpc/kvm/book3s_pr.c sregs->pvr = vcpu->arch.pvr; pvr 1472 arch/powerpc/kvm/book3s_pr.c kvmppc_set_pvr_pr(vcpu, sregs->pvr); pvr 1757 arch/powerpc/kvm/book3s_pr.c vcpu->arch.pvr = 0x3C0301; pvr 1759 arch/powerpc/kvm/book3s_pr.c vcpu->arch.pvr = mfspr(SPRN_PVR); pvr 1763 arch/powerpc/kvm/book3s_pr.c vcpu->arch.pvr = 0x84202; pvr 1765 arch/powerpc/kvm/book3s_pr.c kvmppc_set_pvr_pr(vcpu, vcpu->arch.pvr); pvr 1619 arch/powerpc/kvm/booke.c sregs->pvr = vcpu->arch.pvr; pvr 1635 arch/powerpc/kvm/booke.c if (vcpu->arch.pvr != sregs->pvr) pvr 353 arch/powerpc/kvm/e500.c vcpu->arch.pvr = mfspr(SPRN_PVR); pvr 206 arch/powerpc/kvm/e500mc.c vcpu->arch.pvr = mfspr(SPRN_PVR); pvr 141 arch/powerpc/kvm/emulate.c spr_val = vcpu->arch.pvr; pvr 257 arch/powerpc/kvm/powerpc.c if (!vcpu->arch.pvr) pvr 891 arch/powerpc/math-emu/math_efp.c u32 pvr, maj, min; pvr 893 arch/powerpc/math-emu/math_efp.c pvr = mfspr(SPRN_PVR); pvr 895 arch/powerpc/math-emu/math_efp.c if ((PVR_VER(pvr) == PVR_VER_E500V1) || pvr 896 arch/powerpc/math-emu/math_efp.c (PVR_VER(pvr) == PVR_VER_E500V2)) { pvr 897 arch/powerpc/math-emu/math_efp.c maj = PVR_MAJ(pvr); pvr 898 arch/powerpc/math-emu/math_efp.c min = PVR_MIN(pvr); pvr 442 arch/powerpc/perf/power9-pmu.c unsigned int pvr = mfspr(SPRN_PVR); pvr 450 arch/powerpc/perf/power9-pmu.c if (!(pvr & PVR_POWER9_CUMULUS)) { pvr 451 arch/powerpc/perf/power9-pmu.c if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 1)) { pvr 454 arch/powerpc/perf/power9-pmu.c } else if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 2)) { pvr 429 arch/powerpc/platforms/powermac/bootx_init.c unsigned long pvr; pvr 440 arch/powerpc/platforms/powermac/bootx_init.c __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr)); pvr 441 arch/powerpc/platforms/powermac/bootx_init.c bootx_printf("\nPVR : 0x%x", pvr); pvr 442 arch/powerpc/platforms/powermac/bootx_init.c pvr >>= 16; pvr 443 arch/powerpc/platforms/powermac/bootx_init.c if (pvr > 1) { pvr 447 arch/powerpc/platforms/powermac/bootx_init.c if (pvr == 8 || pvr == 12 || pvr == 0x800c) { pvr 270 arch/powerpc/platforms/powermac/setup.c unsigned long pvr; pvr 272 arch/powerpc/platforms/powermac/setup.c pvr = PVR_VER(mfspr(SPRN_PVR)); pvr 281 arch/powerpc/platforms/powermac/setup.c if (pvr >= 0x30 && pvr < 0x80) pvr 284 arch/powerpc/platforms/powermac/setup.c else if (pvr == 4 || pvr >= 8) pvr 17 arch/sh/kernel/cpu/sh4/probe.c unsigned long pvr, prr, cvr; pvr 28 arch/sh/kernel/cpu/sh4/probe.c pvr = (__raw_readl(CCN_PVR) >> 8) & 0xffffff; pvr 56 arch/sh/kernel/cpu/sh4/probe.c if (((pvr >> 16) & 0xff) == 0x10) { pvr 65 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.cut_major = pvr & 0x7f; pvr 80 arch/sh/kernel/cpu/sh4/probe.c pvr &= 0xffff; pvr 86 arch/sh/kernel/cpu/sh4/probe.c switch (pvr) { pvr 573 drivers/cpufreq/pmac32-cpufreq.c u32 pvr; pvr 590 drivers/cpufreq/pmac32-cpufreq.c pvr = mfspr(SPRN_PVR); pvr 591 drivers/cpufreq/pmac32-cpufreq.c has_cpu_l2lve = !((pvr & 0xf00) == 0x100); pvr 1380 drivers/crypto/amcc/crypto4xx_core.c u32 pvr; pvr 1425 drivers/crypto/amcc/crypto4xx_core.c pvr = mfspr(SPRN_PVR); pvr 1426 drivers/crypto/amcc/crypto4xx_core.c if (is_revb && ((pvr >> 4) == 0x130218A)) { pvr 1427 drivers/crypto/amcc/crypto4xx_core.c u32 min = PVR_MIN(pvr); pvr 693 drivers/edac/mpc85xx_edac.c u32 __maybe_unused pvr = 0; pvr 205 drivers/i2c/busses/i2c-mpc.c unsigned int pvr = mfspr(SPRN_PVR); pvr 225 drivers/i2c/busses/i2c-mpc.c if (div->fdr & 0xc0 && pvr == 0x80822011) pvr 131 drivers/media/usb/pvrusb2/pvrusb2-dvb.c struct pvr2_context *pvr = adap->channel.mc_head; pvr 139 drivers/media/usb/pvrusb2/pvrusb2-dvb.c ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); pvr 151 drivers/media/usb/pvrusb2/pvrusb2-dvb.c pvr2_stream_set_callback(pvr->video_stream.stream, pvr 445 drivers/media/usb/pvrusb2/pvrusb2-dvb.c struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) pvr 449 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (!pvr->hdw->hdw_desc->dvb_props) { pvr 456 drivers/media/usb/pvrusb2/pvrusb2-dvb.c pvr2_channel_init(&adap->channel, pvr); pvr 43 drivers/media/usb/pvrusb2/pvrusb2-dvb.h struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr); pvr 43 drivers/media/usb/pvrusb2/pvrusb2-main.c static void pvr_setup_attach(struct pvr2_context *pvr) pvr 46 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_v4l2_create(pvr); pvr 49 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_dvb_create(pvr); pvr 52 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_sysfs_create(pvr,class_ptr); pvr 59 drivers/media/usb/pvrusb2/pvrusb2-main.c struct pvr2_context *pvr; pvr 62 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr = pvr2_context_create(intf,devid,pvr_setup_attach); pvr 63 drivers/media/usb/pvrusb2/pvrusb2-main.c if (!pvr) { pvr 69 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_trace(PVR2_TRACE_INIT,"pvr_probe(pvr=%p)",pvr); pvr 71 drivers/media/usb/pvrusb2/pvrusb2-main.c usb_set_intfdata(intf, pvr); pvr 82 drivers/media/usb/pvrusb2/pvrusb2-main.c struct pvr2_context *pvr = usb_get_intfdata(intf); pvr 84 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_trace(PVR2_TRACE_INIT,"pvr_disconnect(pvr=%p) BEGIN",pvr); pvr 87 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_context_disconnect(pvr); pvr 89 drivers/media/usb/pvrusb2/pvrusb2-main.c pvr2_trace(PVR2_TRACE_INIT,"pvr_disconnect(pvr=%p) DONE",pvr); pvr 43 drivers/net/can/mscan/mpc5xxx_can.c unsigned int pvr; pvr 49 drivers/net/can/mscan/mpc5xxx_can.c pvr = mfspr(SPRN_PVR); pvr 68 drivers/net/can/mscan/mpc5xxx_can.c if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011) pvr 918 drivers/net/ethernet/freescale/gianfar.c unsigned int pvr = mfspr(SPRN_PVR); pvr 924 drivers/net/ethernet/freescale/gianfar.c if ((pvr == 0x80850010 && mod == 0x80b0 && rev >= 0x0020) || pvr 925 drivers/net/ethernet/freescale/gianfar.c (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) pvr 929 drivers/net/ethernet/freescale/gianfar.c if ((pvr == 0x80850010 && mod == 0x80b0) || pvr 930 drivers/net/ethernet/freescale/gianfar.c (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) pvr 934 drivers/net/ethernet/freescale/gianfar.c if (pvr == 0x80850010 && mod == 0x80b0 && rev < 0x0020) pvr 301 drivers/tty/serial/sunsab.c if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) { pvr 302 drivers/tty/serial/sunsab.c up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1; pvr 396 drivers/tty/serial/sunsab.c val = readb(&up->regs->r.pvr); pvr 426 drivers/tty/serial/sunsab.c writeb(up->cached_pvr, &up->regs->rw.pvr); pvr 1008 drivers/tty/serial/sunsab.c writeb(up->cached_pvr, &up->regs->w.pvr); pvr 35 drivers/tty/serial/sunsab.h u8 pvr; /* Port Value Register */ pvr 71 drivers/tty/serial/sunsab.h u8 pvr; pvr 107 drivers/tty/serial/sunsab.h u8 pvr; pvr 86 include/linux/fsl/guts.h u32 pvr; /* 0x.00a0 - Processor Version Register */ pvr 177 tools/arch/powerpc/include/uapi/asm/kvm.h __u32 pvr; pvr 16 tools/perf/arch/powerpc/util/header.c #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ pvr 17 tools/perf/arch/powerpc/util/header.c #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ pvr 22 tools/perf/arch/powerpc/util/header.c unsigned long pvr; pvr 25 tools/perf/arch/powerpc/util/header.c pvr = mfspr(SPRN_PVR); pvr 27 tools/perf/arch/powerpc/util/header.c nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));