/linux-4.4.14/arch/microblaze/include/asm/ |
D | pvr.h | 19 unsigned pvr[12]; member 125 #define PVR_IS_FULL(_pvr) (_pvr.pvr[0] & PVR0_PVR_FULL_MASK) 126 #define PVR_USE_BARREL(_pvr) (_pvr.pvr[0] & PVR0_USE_BARREL_MASK) 127 #define PVR_USE_DIV(_pvr) (_pvr.pvr[0] & PVR0_USE_DIV_MASK) 128 #define PVR_USE_HW_MUL(_pvr) (_pvr.pvr[0] & PVR0_USE_HW_MUL_MASK) 129 #define PVR_USE_FPU(_pvr) (_pvr.pvr[0] & PVR0_USE_FPU_MASK) 130 #define PVR_USE_FPU2(_pvr) (_pvr.pvr[2] & PVR2_USE_FPU2_MASK) 131 #define PVR_USE_ICACHE(_pvr) (_pvr.pvr[0] & PVR0_USE_ICACHE_MASK) 132 #define PVR_USE_DCACHE(_pvr) (_pvr.pvr[0] & PVR0_USE_DCACHE_MASK) 133 #define PVR_VERSION(_pvr) ((_pvr.pvr[0] & PVR0_VERSION_MASK) >> 8) [all …]
|
/linux-4.4.14/arch/microblaze/kernel/cpu/ |
D | cpuinfo-pvr-full.c | 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 35 struct pvr_s pvr; in set_cpuinfo_pvr_full() local 37 get_pvr(&pvr); in set_cpuinfo_pvr_full() 45 temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | in set_cpuinfo_pvr_full() 46 PVR_USE_PCMP_INSTR(pvr) | PVR_USE_DIV(pvr); in set_cpuinfo_pvr_full() 51 temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); in set_cpuinfo_pvr_full() 56 temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); in set_cpuinfo_pvr_full() 61 ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) | in set_cpuinfo_pvr_full() 62 PVR_UNALIGNED_EXCEPTION(pvr) | in set_cpuinfo_pvr_full() 63 PVR_ILL_OPCODE_EXCEPTION(pvr) | in set_cpuinfo_pvr_full() [all …]
|
D | pvr.c | 68 get_single_pvr(0, p->pvr[0]); in get_pvr() 69 get_single_pvr(1, p->pvr[1]); in get_pvr() 70 get_single_pvr(2, p->pvr[2]); in get_pvr() 71 get_single_pvr(3, p->pvr[3]); in get_pvr() 72 get_single_pvr(4, p->pvr[4]); in get_pvr() 73 get_single_pvr(5, p->pvr[5]); in get_pvr() 74 get_single_pvr(6, p->pvr[6]); in get_pvr() 75 get_single_pvr(7, p->pvr[7]); in get_pvr() 76 get_single_pvr(8, p->pvr[8]); in get_pvr() 77 get_single_pvr(9, p->pvr[9]); in get_pvr() [all …]
|
D | Makefile | 12 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-main.c | 57 static void pvr_setup_attach(struct pvr2_context *pvr) in pvr_setup_attach() argument 60 pvr2_v4l2_create(pvr); in pvr_setup_attach() 63 pvr2_dvb_create(pvr); in pvr_setup_attach() 66 pvr2_sysfs_create(pvr,class_ptr); in pvr_setup_attach() 73 struct pvr2_context *pvr; in pvr_probe() local 76 pvr = pvr2_context_create(intf,devid,pvr_setup_attach); in pvr_probe() 77 if (!pvr) { in pvr_probe() 83 pvr2_trace(PVR2_TRACE_INIT,"pvr_probe(pvr=%p)",pvr); in pvr_probe() 85 usb_set_intfdata(intf, pvr); in pvr_probe() 96 struct pvr2_context *pvr = usb_get_intfdata(intf); in pvr_disconnect() local [all …]
|
D | pvrusb2-dvb.c | 144 struct pvr2_context *pvr = adap->channel.mc_head; in pvr2_dvb_stream_do_start() local 152 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); in pvr2_dvb_stream_do_start() 164 pvr2_stream_set_callback(pvr->video_stream.stream, in pvr2_dvb_stream_do_start() 408 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) in pvr2_dvb_create() argument 412 if (!pvr->hdw->hdw_desc->dvb_props) { in pvr2_dvb_create() 419 pvr2_channel_init(&adap->channel, pvr); in pvr2_dvb_create()
|
D | pvrusb2-dvb.h | 39 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr);
|
/linux-4.4.14/tools/perf/arch/powerpc/util/ |
D | header.c | 15 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument 16 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument 21 unsigned long pvr; in get_cpuid() local 24 pvr = mfspr(SPRN_PVR); in get_cpuid() 26 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | setup-common.c | 215 unsigned int pvr; in show_cpuinfo() local 229 pvr = per_cpu(cpu_pvr, cpu_id); in show_cpuinfo() 231 pvr = mfspr(SPRN_PVR); in show_cpuinfo() 233 maj = (pvr >> 8) & 0xFF; in show_cpuinfo() 234 min = pvr & 0xFF; in show_cpuinfo() 242 seq_printf(m, "unknown (%08x)", pvr); in show_cpuinfo() 287 if (PVR_VER(pvr) & 0x8000) { in show_cpuinfo() 288 switch (PVR_VER(pvr)) { in show_cpuinfo() 295 maj = ((pvr >> 8) & 0xF); in show_cpuinfo() 296 min = PVR_MIN(pvr); in show_cpuinfo() [all …]
|
D | prom.c | 263 unsigned int pvr; in identical_pvr_fixup() local 274 pvr = cur_cpu_spec->pvr_value | 0x8; in identical_pvr_fixup() 275 identify_cpu(0, pvr); in identical_pvr_fixup() 276 DBG("Using logical pvr %x for %s\n", pvr, model); in identical_pvr_fixup()
|
D | cputable.c | 2182 struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr) in identify_cpu() argument 2190 if ((pvr & s->pvr_mask) == s->pvr_value) in identify_cpu()
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | kgdb.c | 35 static struct pvr_s pvr; variable 53 gdb_regs[GDB_PVR + i] = pvr.pvr[i]; in pt_regs_to_gdb_regs() 105 gdb_regs[GDB_PVR + i] = pvr.pvr[i]; in sleeping_thread_to_gdb_regs() 134 get_pvr(&pvr); /* Fill PVR structure */ in kgdb_arch_init()
|
/linux-4.4.14/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 | 30 unsigned long pvr; in chip_11_errata() local 32 pvr = mfpvr(); in chip_11_errata() 34 switch (pvr & 0xf0000ff0) { in chip_11_errata()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 20 unsigned long pvr, prr, cvr; in cpu_probe() local 31 pvr = (__raw_readl(CCN_PVR) >> 8) & 0xffffff; in cpu_probe() 59 if (((pvr >> 16) & 0xff) == 0x10) { in cpu_probe() 68 boot_cpu_data.cut_major = pvr & 0x7f; in cpu_probe() 83 pvr &= 0xffff; in cpu_probe() 89 switch (pvr) { in cpu_probe()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | reg.h | 1087 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument 1088 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument 1090 #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) argument 1097 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ argument 1098 #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ argument 1099 #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ argument 1100 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument 1101 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument 1102 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
|
D | cputable.h | 111 extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr);
|
D | kvm_host.h | 525 u32 pvr; member
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
D | setup.c | 281 unsigned long pvr; in pmac_setup_arch() local 283 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch() 292 if (pvr >= 0x30 && pvr < 0x80) in pmac_setup_arch() 295 else if (pvr == 4 || pvr >= 8) in pmac_setup_arch()
|
D | bootx_init.c | 432 unsigned long pvr; in btext_welcome() local 443 __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr)); in btext_welcome() 444 bootx_printf("\nPVR : 0x%x", pvr); in btext_welcome() 445 pvr >>= 16; in btext_welcome() 446 if (pvr > 1) { in btext_welcome() 450 if (pvr == 8 || pvr == 12 || pvr == 0x800c) { in btext_welcome()
|
/linux-4.4.14/drivers/tty/serial/ |
D | sunsab.h | 34 u8 pvr; /* Port Value Register */ member 70 u8 pvr; member 106 u8 pvr; member
|
D | sunsab.c | 300 if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) { in check_status() 301 up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1; in check_status() 395 val = readb(&up->regs->r.pvr); in sunsab_get_mctrl() 425 writeb(up->cached_pvr, &up->regs->rw.pvr); in sunsab_tx_idle() 1007 writeb(up->cached_pvr, &up->regs->w.pvr); in sunsab_init_one()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_pr.c | 402 void kvmppc_set_pvr_pr(struct kvm_vcpu *vcpu, u32 pvr) in kvmppc_set_pvr_pr() argument 407 vcpu->arch.pvr = pvr; in kvmppc_set_pvr_pr() 409 if ((pvr >= 0x330000) && (pvr < 0x70330000)) { in kvmppc_set_pvr_pr() 446 switch (PVR_VER(pvr)) { in kvmppc_set_pvr_pr() 1255 sregs->pvr = vcpu->arch.pvr; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1282 kvmppc_set_pvr_pr(vcpu, sregs->pvr); in kvm_arch_vcpu_ioctl_set_sregs_pr() 1418 vcpu->arch.pvr = 0x3C0301; in kvmppc_core_vcpu_create_pr() 1420 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_create_pr() 1424 vcpu->arch.pvr = 0x84202; in kvmppc_core_vcpu_create_pr() 1426 kvmppc_set_pvr_pr(vcpu, vcpu->arch.pvr); in kvmppc_core_vcpu_create_pr()
|
D | emulate.c | 159 spr_val = vcpu->arch.pvr; in kvmppc_emulate_mfspr()
|
D | book3s_hv.c | 237 static void kvmppc_set_pvr_hv(struct kvm_vcpu *vcpu, u32 pvr) in kvmppc_set_pvr_hv() argument 239 vcpu->arch.pvr = pvr; in kvmppc_set_pvr_hv() 964 sregs->pvr = vcpu->arch.pvr; in kvm_arch_vcpu_ioctl_get_sregs_hv() 979 if (sregs->pvr != vcpu->arch.pvr) in kvm_arch_vcpu_ioctl_set_sregs_hv()
|
D | e500mc.c | 210 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_setup()
|
D | booke.c | 1601 sregs->pvr = vcpu->arch.pvr; in kvm_arch_vcpu_ioctl_get_sregs() 1613 if (vcpu->arch.pvr != sregs->pvr) in kvm_arch_vcpu_ioctl_set_sregs()
|
D | e500.c | 357 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_setup()
|
D | book3s_emulate.c | 411 switch (vcpu->arch.pvr) { in kvmppc_core_emulate_mtspr_pr()
|
D | powerpc.c | 246 if (!vcpu->arch.pvr) in kvmppc_sanity_check()
|
/linux-4.4.14/arch/powerpc/math-emu/ |
D | math_efp.c | 895 u32 pvr, maj, min; in spe_mathemu_init() local 897 pvr = mfspr(SPRN_PVR); in spe_mathemu_init() 899 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in spe_mathemu_init() 900 (PVR_VER(pvr) == PVR_VER_E500V2)) { in spe_mathemu_init() 901 maj = PVR_MAJ(pvr); in spe_mathemu_init() 902 min = PVR_MIN(pvr); in spe_mathemu_init()
|
/linux-4.4.14/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 572 u32 pvr; in pmac_cpufreq_init_750FX() local 588 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX() 589 has_cpu_l2lve = !((pvr & 0xf00) == 0x100); in pmac_cpufreq_init_750FX()
|
/linux-4.4.14/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 54 unsigned int pvr; in mpc52xx_can_get_clock() local 60 pvr = mfspr(SPRN_PVR); in mpc52xx_can_get_clock() 79 if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011) in mpc52xx_can_get_clock()
|
/linux-4.4.14/drivers/edac/ |
D | mpc85xx_edac.c | 1214 u32 pvr = 0; in mpc85xx_mc_init() local 1238 pvr = mfspr(SPRN_PVR); in mpc85xx_mc_init() 1240 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in mpc85xx_mc_init() 1241 (PVR_VER(pvr) == PVR_VER_E500V2)) { in mpc85xx_mc_init() 1266 u32 pvr = mfspr(SPRN_PVR); in mpc85xx_mc_exit() local 1268 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in mpc85xx_mc_exit() 1269 (PVR_VER(pvr) == PVR_VER_E500V2)) { in mpc85xx_mc_exit()
|
/linux-4.4.14/include/linux/fsl/ |
D | guts.h | 65 __be32 pvr; /* 0x.00a0 - Processor Version Register */ member
|
/linux-4.4.14/arch/microblaze/boot/dts/ |
D | system.dts | 112 xlnx,pvr = <0x2>; 113 xlnx,pvr-user1 = <0x0>; 114 xlnx,pvr-user2 = <0x0>;
|
/linux-4.4.14/drivers/media/rc/keymaps/ |
D | Makefile | 104 rc-videomate-tv-pvr.o \
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-mpc.c | 207 unsigned int pvr = mfspr(SPRN_PVR); in mpc_i2c_get_fdr_52xx() local 227 if (div->fdr & 0xc0 && pvr == 0x80822011) in mpc_i2c_get_fdr_52xx()
|
/linux-4.4.14/Documentation/video4linux/bttv/ |
D | README | 30 zip file, unzip can unpack it). Put it into the /etc/pvr directory or
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 167 __u32 pvr; member
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1091 unsigned int pvr = mfspr(SPRN_PVR); in __gfar_detect_errata_83xx() local 1097 if ((pvr == 0x80850010 && mod == 0x80b0 && rev >= 0x0020) || in __gfar_detect_errata_83xx() 1098 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) in __gfar_detect_errata_83xx() 1102 if ((pvr == 0x80850010 && mod == 0x80b0) || in __gfar_detect_errata_83xx() 1103 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) in __gfar_detect_errata_83xx() 1107 if (pvr == 0x80850010 && mod == 0x80b0 && rev < 0x0020) in __gfar_detect_errata_83xx()
|