Searched refs:pvr (Results 26 - 50 of 66) sorted by relevance

123

/linux-master/arch/powerpc/platforms/powermac/
H A Dbootx_init.c430 unsigned long pvr; local
441 __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr));
442 bootx_printf("\nPVR : 0x%x", pvr);
443 pvr >>= 16;
444 if (pvr > 1) {
448 if (pvr == 8 || pvr == 12 || pvr == 0x800c) {
/linux-master/arch/powerpc/perf/
H A Dpower10-pmu.c608 unsigned int pvr; local
611 pvr = mfspr(SPRN_PVR);
612 if (PVR_VER(pvr) != PVR_POWER10)
616 if ((PVR_CFG(pvr) == 1))
622 if ((PVR_CFG(pvr) == 1)) {
642 unsigned int pvr; local
645 pvr = mfspr(SPRN_PVR);
646 if (PVR_VER(pvr) != PVR_POWER11)
H A Dpower7-pmu.c450 unsigned int pvr = mfspr(SPRN_PVR); local
452 if (PVR_VER(pvr) != PVR_POWER7 && PVR_VER(pvr) != PVR_POWER7p)
455 if (PVR_VER(pvr) == PVR_POWER7p)
H A Dpower8-pmu.c394 unsigned int pvr = mfspr(SPRN_PVR); local
396 if (PVR_VER(pvr) != PVR_POWER8E && PVR_VER(pvr) != PVR_POWER8NVL &&
397 PVR_VER(pvr) != PVR_POWER8)
H A Dpower5-pmu.c623 unsigned int pvr = mfspr(SPRN_PVR); local
625 if (PVR_VER(pvr) != PVR_POWER5)
H A Dpower6-pmu.c556 unsigned int pvr = mfspr(SPRN_PVR); local
558 if (PVR_VER(pvr) != PVR_POWER6)
H A Dpower5+-pmu.c682 unsigned int pvr = mfspr(SPRN_PVR); local
684 if (PVR_VER(pvr) != PVR_POWER5p)
H A Dhv-24x7.c1708 unsigned int pvr = mfspr(SPRN_PVR); local
1717 if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E ||
1718 PVR_VER(pvr) == PVR_POWER8NVL)
/linux-master/arch/microblaze/kernel/cpu/
H A Dcpuinfo.c14 #include <asm/pvr.h>
H A Dmb.c24 #include <asm/pvr.h>
H A Dcpuinfo-static.c15 #include <asm/pvr.h>
116 ci->pvr_user1 = fcpu(cpu, "xlnx,pvr-user1");
117 ci->pvr_user2 = fcpu(cpu, "xlnx,pvr-user2");
/linux-master/drivers/tty/serial/
H A Dsunsab.h35 u8 pvr; /* Port Value Register */ member in struct:sab82532_async_rd_regs
71 u8 pvr; member in struct:sab82532_async_wr_regs
107 u8 pvr; member in struct:sab82532_async_rw_regs
H A Dsunsab.c297 if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) {
298 up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1;
392 val = readb(&up->regs->r.pvr);
422 writeb(up->cached_pvr, &up->regs->rw.pvr);
1000 writeb(up->cached_pvr, &up->regs->w.pvr);
/linux-master/arch/powerpc/kernel/
H A Dmce.c633 int pvr; local
657 pvr = mfspr(SPRN_PVR);
659 if ((PVR_VER(pvr) == PVR_POWER9) && (pvr & 0xe000) == 0) {
661 if ((pvr & 0xfff) >= 0x202)
664 else if ((pvr & 0xfff) >= 0x200)
H A Dsetup_64.c631 u32 pvr; local
639 pvr = PVR_VER(mfspr(SPRN_PVR));
640 if (pvr == PVR_POWER8 || pvr == PVR_POWER8E ||
641 pvr == PVR_POWER8NVL) {
H A Dprom.c294 unsigned int pvr; local
298 * Since 440GR(x)/440EP(x) processors have the same pvr,
300 * pvr for EP(x) processor version. This bit is always 0 in
301 * the "real" pvr. Then we call identify_cpu again with
302 * the new logical pvr to enable FPU support.
305 pvr = cur_cpu_spec->pvr_value | 0x8;
306 identify_cpu(0, pvr);
307 DBG("Using logical pvr %x for %s\n", pvr, model);
H A Ddt_cpu_ftrs.c749 static __init void update_tlbie_feature_flag(unsigned long pvr) argument
751 if (PVR_VER(pvr) == PVR_POWER9) {
756 if ((pvr & 0xe000) == 0) {
758 if ((pvr & 0xfff) < 0x203)
760 } else if ((pvr & 0xc000) == 0) {
762 if ((pvr & 0xfff) < 0x103)
/linux-master/arch/powerpc/kvm/
H A Dbook3s_pr.c556 static void kvmppc_set_pvr_pr(struct kvm_vcpu *vcpu, u32 pvr) argument
561 vcpu->arch.pvr = pvr;
563 if ((pvr >= 0x330000) && (pvr < 0x70330000)) {
600 switch (PVR_VER(pvr)) {
1469 sregs->pvr = vcpu->arch.pvr;
1496 kvmppc_set_pvr_pr(vcpu, sregs->pvr);
1772 vcpu->arch.pvr
[all...]
H A Demulate.c141 spr_val = vcpu->arch.pvr;
/linux-master/drivers/cpufreq/
H A Dpmac32-cpufreq.c575 u32 pvr; local
592 pvr = mfspr(SPRN_PVR);
593 has_cpu_l2lve = !((pvr & 0xf00) == 0x100);
/linux-master/drivers/net/can/mscan/
H A Dmpc5xxx_can.c47 unsigned int pvr; local
53 pvr = mfspr(SPRN_PVR);
72 if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011)
/linux-master/arch/powerpc/math-emu/
H A Dmath_efp.c895 u32 pvr, maj, min; local
897 pvr = mfspr(SPRN_PVR);
899 if ((PVR_VER(pvr) == PVR_VER_E500V1) ||
900 (PVR_VER(pvr) == PVR_VER_E500V2)) {
901 maj = PVR_MAJ(pvr);
902 min = PVR_MIN(pvr);
/linux-master/include/linux/fsl/
H A Dguts.h86 u32 pvr; /* 0x.00a0 - Processor Version Register */ member in struct:ccsr_guts
/linux-master/drivers/media/rc/keymaps/
H A DMakefile132 rc-videomate-tv-pvr.o \
/linux-master/arch/powerpc/include/asm/
H A Dcputable.h93 extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr);
94 extern void identify_cpu_name(unsigned int pvr);

Completed in 204 milliseconds

123