Searched refs:pvr (Results 1 – 16 of 16) sorted by relevance
/arch/powerpc/kernel/ |
D | setup-common.c | 160 DEFINE_PER_CPU(unsigned int, pvr); 166 unsigned int pvr; in show_cpuinfo() local 212 pvr = per_cpu(pvr, cpu_id); in show_cpuinfo() 214 pvr = mfspr(SPRN_PVR); in show_cpuinfo() 216 maj = (pvr >> 8) & 0xFF; in show_cpuinfo() 217 min = pvr & 0xFF; in show_cpuinfo() 225 seq_printf(m, "unknown (%08x)", pvr); in show_cpuinfo() 263 if (PVR_VER(pvr) & 0x8000) { in show_cpuinfo() 264 switch (PVR_VER(pvr)) { in show_cpuinfo() 271 maj = ((pvr >> 8) & 0xF); in show_cpuinfo() [all …]
|
D | prom.c | 631 unsigned int pvr; in identical_pvr_fixup() local 642 pvr = cur_cpu_spec->pvr_value | 0x8; in identical_pvr_fixup() 643 identify_cpu(0, pvr); in identical_pvr_fixup() 644 DBG("Using logical pvr %x for %s\n", pvr, model); in identical_pvr_fixup()
|
D | smp.c | 234 per_cpu(pvr, id) = mfspr(SPRN_PVR); in smp_store_cpu_info()
|
D | cputable.c | 1765 struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr) in identify_cpu() argument 1775 if ((pvr & s->pvr_mask) == s->pvr_value) { in identify_cpu()
|
/arch/powerpc/boot/ |
D | reg.h | 14 u32 pvr; in mfpvr() local 15 asm volatile ("mfpvr %0" : "=r"(pvr)); in mfpvr() 16 return pvr; in mfpvr()
|
D | 4xx.c | 26 unsigned long pvr; in chip_11_errata() local 28 pvr = mfpvr(); in chip_11_errata() 30 switch (pvr & 0xf0000ff0) { in chip_11_errata()
|
/arch/powerpc/include/asm/ |
D | reg.h | 629 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument 630 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument 639 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ argument 640 #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ argument 641 #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ argument 642 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument 643 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument 644 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
|
D | smp.h | 40 DECLARE_PER_CPU(unsigned int, pvr);
|
D | immap_86xx.h | 48 __be32 pvr; /* 0x.00a0 - Processor Version Register */ member
|
D | kvm_host.h | 168 u32 pvr; member
|
D | cputable.h | 128 extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr);
|
/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 20 unsigned long pvr, prr, cvr; in detect_cpu_and_cache_system() local 31 pvr = (ctrl_inl(CCN_PVR) >> 8) & 0xffffff; in detect_cpu_and_cache_system() 59 if (((pvr >> 16) & 0xff) == 0x10) { in detect_cpu_and_cache_system() 64 boot_cpu_data.cut_major = pvr & 0x7f; in detect_cpu_and_cache_system() 72 pvr &= 0xffff; in detect_cpu_and_cache_system() 78 switch (pvr) { in detect_cpu_and_cache_system()
|
/arch/powerpc/platforms/powermac/ |
D | setup.c | 287 unsigned long pvr; in pmac_setup_arch() local 289 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch() 298 if (pvr >= 0x30 && pvr < 0x80) in pmac_setup_arch() 301 else if (pvr == 4 || pvr >= 8) in pmac_setup_arch()
|
D | bootx_init.c | 431 unsigned long pvr; in btext_welcome() local 442 __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr)); in btext_welcome() 443 bootx_printf("\nPVR : 0x%x", pvr); in btext_welcome() 444 pvr >>= 16; in btext_welcome() 445 if (pvr > 1) { in btext_welcome() 449 if (pvr == 8 || pvr == 12 || pvr == 0x800c) { in btext_welcome()
|
D | cpufreq_32.c | 611 u32 pvr; in pmac_cpufreq_init_750FX() local 627 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX() 628 has_cpu_l2lve = !((pvr & 0xf00) == 0x100); in pmac_cpufreq_init_750FX()
|
/arch/powerpc/kvm/ |
D | emulate.c | 157 vcpu->arch.gpr[rt] = vcpu->arch.pvr; break; in kvmppc_emulate_instruction()
|