Searched refs:pvr (Results 1 - 25 of 66) sorted by last modified time

123

/linux-master/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h176 __u32 pvr; member in struct:kvm_sregs
/linux-master/arch/powerpc/kernel/
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 Dsetup-common.c223 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 Dtraps.c608 unsigned long pvr = mfspr(SPRN_PVR); local
655 if (PVR_VER(pvr) != PVR_VER_E6500) {
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)
H A Dcputable.c86 * 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 Dpvrusb2-dvb.c129 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 Di2c-mpc.c243 unsigned int pvr = mfspr(SPRN_PVR); local
263 if (div->fdr & 0xc0 && pvr == 0x80822011)
/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 Dpower6-pmu.c556 unsigned int pvr = mfspr(SPRN_PVR); local
558 if (PVR_VER(pvr) != PVR_POWER6)
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/powerpc/kvm/
H A Dpowerpc.c258 if (!vcpu->arch.pvr)
H A Dbook3s_hv.c386 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 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...]
/linux-master/arch/powerpc/include/uapi/asm/
H A Dkvm.h176 __u32 pvr; member in struct:kvm_sregs
/linux-master/arch/powerpc/include/asm/
H A Dreg.h1271 #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 Dcputable.h93 extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr);
94 extern void identify_cpu_name(unsigned int pvr);
H A Dkvm_host.h648 u32 pvr; member in struct:kvmppc_slb::kvm_vcpu_arch
/linux-master/drivers/net/ethernet/freescale/
H A Dgianfar.c894 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 Dmpc5xxx_can.c47 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 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/drivers/crypto/amcc/
H A Dcrypto4xx_core.c1340 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 Dmpc85xx_edac.c677 u32 __maybe_unused pvr = 0; local
/linux-master/arch/powerpc/mm/book3s64/
H A Dpkeys.c89 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 Dheader.c17 unsigned long pvr; local
20 pvr = mfspr(SPRN_PVR);
22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));

Completed in 317 milliseconds

123