Home
last modified time | relevance | path

Searched refs:pvr (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/arch/microblaze/include/asm/
Dpvr.h19 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-2.6.39/arch/microblaze/kernel/cpu/
Dcpuinfo-pvr-full.c23 #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()
46 temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) |\ in set_cpuinfo_pvr_full()
47 PVR_USE_PCMP_INSTR(pvr) | PVR_USE_DIV(pvr); in set_cpuinfo_pvr_full()
52 temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); in set_cpuinfo_pvr_full()
57 temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); in set_cpuinfo_pvr_full()
62 ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) |\ in set_cpuinfo_pvr_full()
63 PVR_UNALIGNED_EXCEPTION(pvr) |\ in set_cpuinfo_pvr_full()
64 PVR_ILL_OPCODE_EXCEPTION(pvr) |\ in set_cpuinfo_pvr_full()
[all …]
Dpvr.c69 get_single_pvr(0, p->pvr[0]); in get_pvr()
70 get_single_pvr(1, p->pvr[1]); in get_pvr()
71 get_single_pvr(2, p->pvr[2]); in get_pvr()
72 get_single_pvr(3, p->pvr[3]); in get_pvr()
73 get_single_pvr(4, p->pvr[4]); in get_pvr()
74 get_single_pvr(5, p->pvr[5]); in get_pvr()
75 get_single_pvr(6, p->pvr[6]); in get_pvr()
76 get_single_pvr(7, p->pvr[7]); in get_pvr()
77 get_single_pvr(8, p->pvr[8]); in get_pvr()
78 get_single_pvr(9, p->pvr[9]); in get_pvr()
[all …]
DMakefile12 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
/linux-2.6.39/drivers/media/video/pvrusb2/
Dpvrusb2-main.c57 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 …]
Dpvrusb2-dvb.c144 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()
Dpvrusb2-dvb.h39 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr);
/linux-2.6.39/arch/powerpc/kernel/
Dsetup-common.c205 unsigned int pvr; in show_cpuinfo() local
218 pvr = per_cpu(cpu_pvr, cpu_id); in show_cpuinfo()
220 pvr = mfspr(SPRN_PVR); in show_cpuinfo()
222 maj = (pvr >> 8) & 0xFF; in show_cpuinfo()
223 min = pvr & 0xFF; in show_cpuinfo()
231 seq_printf(m, "unknown (%08x)", pvr); in show_cpuinfo()
269 if (PVR_VER(pvr) & 0x8000) { in show_cpuinfo()
270 switch (PVR_VER(pvr)) { in show_cpuinfo()
277 maj = ((pvr >> 8) & 0xF); in show_cpuinfo()
278 min = PVR_MIN(pvr); in show_cpuinfo()
[all …]
Dprom.c232 unsigned int pvr; in identical_pvr_fixup() local
243 pvr = cur_cpu_spec->pvr_value | 0x8; in identical_pvr_fixup()
244 identify_cpu(0, pvr); in identical_pvr_fixup()
245 DBG("Using logical pvr %x for %s\n", pvr, model); in identical_pvr_fixup()
/linux-2.6.39/arch/microblaze/kernel/
Dkgdb.c34 struct pvr_s pvr; variable
51 gdb_regs[GDB_PVR + i] = pvr.pvr[i]; in pt_regs_to_gdb_regs()
103 gdb_regs[GDB_PVR + i] = pvr.pvr[i]; in sleeping_thread_to_gdb_regs()
132 get_pvr(&pvr); /* Fill PVR structure */ in kgdb_arch_init()
/linux-2.6.39/arch/powerpc/include/asm/
Dreg.h818 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument
819 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument
828 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ argument
829 #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ argument
830 #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ argument
831 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument
832 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument
833 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
Dkvm.h49 __u32 pvr; member
Dfsl_guts.h75 __be32 pvr; /* 0x.00a0 - Processor Version Register */ member
/linux-2.6.39/arch/powerpc/boot/
Dreg.h14 u32 pvr; in mfpvr() local
15 asm volatile ("mfpvr %0" : "=r"(pvr)); in mfpvr()
16 return pvr; in mfpvr()
D4xx.c30 unsigned long pvr; in chip_11_errata() local
32 pvr = mfpvr(); in chip_11_errata()
34 switch (pvr & 0xf0000ff0) { in chip_11_errata()
/linux-2.6.39/arch/sh/kernel/cpu/sh4/
Dprobe.c20 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-2.6.39/arch/powerpc/platforms/powermac/
Dbootx_init.c431 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()
Dsetup.c281 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()
Dcpufreq_32.c606 u32 pvr; in pmac_cpufreq_init_750FX() local
622 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX()
623 has_cpu_l2lve = !((pvr & 0xf00) == 0x100); in pmac_cpufreq_init_750FX()
/linux-2.6.39/drivers/tty/serial/
Dsunsab.h34 u8 pvr; /* Port Value Register */ member
70 u8 pvr; member
106 u8 pvr; member
/linux-2.6.39/arch/powerpc/math-emu/
Dmath_efp.c739 u32 pvr, maj, min; in spe_mathemu_init() local
741 pvr = mfspr(SPRN_PVR); in spe_mathemu_init()
743 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in spe_mathemu_init()
744 (PVR_VER(pvr) == PVR_VER_E500V2)) { in spe_mathemu_init()
745 maj = PVR_MAJ(pvr); in spe_mathemu_init()
746 min = PVR_MIN(pvr); in spe_mathemu_init()
/linux-2.6.39/drivers/net/can/mscan/
Dmpc5xxx_can.c55 unsigned int pvr; in mpc52xx_can_get_clock() local
61 pvr = mfspr(SPRN_PVR); in mpc52xx_can_get_clock()
80 if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011) in mpc52xx_can_get_clock()
/linux-2.6.39/arch/powerpc/kvm/
Dbook3s.c401 void kvmppc_set_pvr(struct kvm_vcpu *vcpu, u32 pvr) in kvmppc_set_pvr() argument
406 vcpu->arch.pvr = pvr; in kvmppc_set_pvr()
408 if ((pvr >= 0x330000) && (pvr < 0x70330000)) { in kvmppc_set_pvr()
1188 sregs->pvr = vcpu->arch.pvr; in kvm_arch_vcpu_ioctl_get_sregs()
1215 kvmppc_set_pvr(vcpu, sregs->pvr); in kvm_arch_vcpu_ioctl_set_sregs()
1336 vcpu->arch.pvr = 0x3C0301; in kvmppc_core_vcpu_create()
1339 vcpu->arch.pvr = 0x84202; in kvmppc_core_vcpu_create()
1341 kvmppc_set_pvr(vcpu, vcpu->arch.pvr); in kvmppc_core_vcpu_create()
De500.c65 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_setup()
/linux-2.6.39/drivers/edac/
Dmpc85xx_edac.c1157 u32 pvr = 0; in mpc85xx_mc_init() local
1187 pvr = mfspr(SPRN_PVR); in mpc85xx_mc_init()
1189 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in mpc85xx_mc_init()
1190 (PVR_VER(pvr) == PVR_VER_E500V2)) { in mpc85xx_mc_init()
1215 u32 pvr = mfspr(SPRN_PVR); in mpc85xx_mc_exit() local
1217 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in mpc85xx_mc_exit()
1218 (PVR_VER(pvr) == PVR_VER_E500V2)) { in mpc85xx_mc_exit()

12