/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 176 __u32 pvr; member in struct:kvm_sregs
|
/linux-master/arch/powerpc/kernel/ |
H A D | prom.c | 294 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 D | setup-common.c | 223 unsigned int pvr; local 229 pvr = per_cpu(cpu_pvr, cpu_id); 231 pvr = mfspr(SPRN_PVR); 233 maj = (pvr >> 8) & 0xFF; 234 min = pvr & 0xFF; 241 seq_printf(m, "unknown (%08x)", pvr); 281 if (PVR_VER(pvr) & 0x8000) { 282 switch (PVR_VER(pvr)) { 289 maj = ((pvr >> 8) & 0xF); 290 min = PVR_MIN(pvr); [all...] |
H A D | traps.c | 608 unsigned long pvr = mfspr(SPRN_PVR); local 655 if (PVR_VER(pvr) != PVR_VER_E6500) {
|
H A D | dt_cpu_ftrs.c | 749 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)
|
H A D | cputable.c | 86 * we're called with real pvr first. 106 struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr) argument 116 if ((pvr & s->pvr_mask) == s->pvr_value) 130 void __init identify_cpu_name(unsigned int pvr) argument 140 if ((pvr & s->pvr_mask) == s->pvr_value) {
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-dvb.c | 129 struct pvr2_context *pvr = adap->channel.mc_head; local 137 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); 149 pvr2_stream_set_callback(pvr->video_stream.stream, 443 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) argument 447 if (!pvr->hdw->hdw_desc->dvb_props) { 454 pvr2_channel_init(&adap->channel, pvr);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 243 unsigned int pvr = mfspr(SPRN_PVR); local 263 if (div->fdr & 0xc0 && pvr == 0x80822011)
|
/linux-master/arch/powerpc/perf/ |
H A D | power10-pmu.c | 608 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 D | power6-pmu.c | 556 unsigned int pvr = mfspr(SPRN_PVR); local 558 if (PVR_VER(pvr) != PVR_POWER6)
|
H A D | hv-24x7.c | 1708 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/powerpc/kvm/ |
H A D | powerpc.c | 258 if (!vcpu->arch.pvr)
|
H A D | book3s_hv.c | 386 static void kvmppc_set_pvr_hv(struct kvm_vcpu *vcpu, u32 pvr) argument 388 vcpu->arch.pvr = pvr; 2123 sregs->pvr = vcpu->arch.pvr; 2138 if (sregs->pvr != vcpu->arch.pvr) 6337 unsigned int pvr = mfspr(SPRN_PVR); local 6338 if ((pvr >> 16) == PVR_POWER9 && 6339 (((pvr [all...] |
H A D | book3s_pr.c | 556 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...] |
/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 176 __u32 pvr; member in struct:kvm_sregs
|
/linux-master/arch/powerpc/include/asm/ |
H A D | reg.h | 1271 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ 1272 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ 1274 #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) 1281 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ 1282 #define PVR_MEM(pvr) (((pvr) >> 1 [all...] |
H A D | cputable.h | 93 extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr); 94 extern void identify_cpu_name(unsigned int pvr);
|
H A D | kvm_host.h | 648 u32 pvr; member in struct:kvmppc_slb::kvm_vcpu_arch
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 894 unsigned int pvr = mfspr(SPRN_PVR); local 900 if ((pvr == 0x80850010 && mod == 0x80b0 && rev >= 0x0020) || 901 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) 905 if ((pvr == 0x80850010 && mod == 0x80b0) || 906 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) 910 if (pvr == 0x80850010 && mod == 0x80b0 && rev < 0x0020)
|
/linux-master/drivers/net/can/mscan/ |
H A D | mpc5xxx_can.c | 47 unsigned int pvr; local 53 pvr = mfspr(SPRN_PVR); 72 if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011)
|
/linux-master/drivers/tty/serial/ |
H A D | sunsab.c | 297 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/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 1340 u32 pvr; local 1392 pvr = mfspr(SPRN_PVR); 1393 if (is_revb && ((pvr >> 4) == 0x130218A)) { 1394 u32 min = PVR_MIN(pvr);
|
/linux-master/drivers/edac/ |
H A D | mpc85xx_edac.c | 677 u32 __maybe_unused pvr = 0; local
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 89 unsigned long pvr = mfspr(SPRN_PVR); local 91 if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E || 92 PVR_VER(pvr) == PVR_POWER8NVL || PVR_VER(pvr) == PVR_POWER9 || 93 PVR_VER(pvr) == PVR_HX_C2000)
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | header.c | 17 unsigned long pvr; local 20 pvr = mfspr(SPRN_PVR); 22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
|