Home
last modified time | relevance | path

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

123

/linux/arch/microblaze/include/asm/
A Dpvr.h16 unsigned pvr[12]; member
147 (_pvr.pvr[2] & PVR2_OPCODE_0x0_ILL_MASK)
149 (_pvr.pvr[2] & PVR2_UNALIGNED_EXC_MASK)
151 (_pvr.pvr[2] & PVR2_ILL_OPCODE_EXC_MASK)
153 (_pvr.pvr[2] & PVR2_IOPB_BUS_EXC_MASK)
155 (_pvr.pvr[2] & PVR2_DOPB_BUS_EXC_MASK)
157 (_pvr.pvr[2] & PVR2_DIV_ZERO_EXC_MASK)
173 (_pvr.pvr[4] & PVR4_ICACHE_USE_FSL_MASK)
175 (_pvr.pvr[4] & PVR4_ICACHE_ALLOW_WR_MASK)
216 #define PVR_MMU_PRIVINS(pvr) (pvr.pvr[11] & PVR11_MMU_PRIVINS) argument
[all …]
/linux/arch/microblaze/kernel/cpu/
A Dcpuinfo-pvr-full.c30 struct pvr_s pvr; in set_cpuinfo_pvr_full() local
32 get_pvr(&pvr); in set_cpuinfo_pvr_full()
40 temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | in set_cpuinfo_pvr_full()
41 PVR_USE_PCMP_INSTR(pvr) | PVR_USE_DIV(pvr); in set_cpuinfo_pvr_full()
46 temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); in set_cpuinfo_pvr_full()
51 temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); in set_cpuinfo_pvr_full()
59 PVR_IOPB_BUS_EXCEPTION(pvr) | in set_cpuinfo_pvr_full()
60 PVR_DOPB_BUS_EXCEPTION(pvr) | in set_cpuinfo_pvr_full()
61 PVR_DIV_ZERO_EXCEPTION(pvr) | in set_cpuinfo_pvr_full()
62 PVR_FPU_EXCEPTION(pvr) | in set_cpuinfo_pvr_full()
[all …]
A 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 …]
A DMakefile13 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-main.c37 static void pvr_setup_attach(struct pvr2_context *pvr) in pvr_setup_attach() argument
40 pvr2_v4l2_create(pvr); in pvr_setup_attach()
43 pvr2_dvb_create(pvr); in pvr_setup_attach()
45 pvr2_sysfs_create(pvr); in pvr_setup_attach()
51 struct pvr2_context *pvr; in pvr_probe() local
54 pvr = pvr2_context_create(intf,devid,pvr_setup_attach); in pvr_probe()
55 if (!pvr) { in pvr_probe()
61 pvr2_trace(PVR2_TRACE_INIT,"pvr_probe(pvr=%p)",pvr); in pvr_probe()
63 usb_set_intfdata(intf, pvr); in pvr_probe()
74 struct pvr2_context *pvr = usb_get_intfdata(intf); in pvr_disconnect() local
[all …]
A Dpvrusb2-dvb.c129 struct pvr2_context *pvr = adap->channel.mc_head; in pvr2_dvb_stream_do_start() local
137 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); in pvr2_dvb_stream_do_start()
149 pvr2_stream_set_callback(pvr->video_stream.stream, in pvr2_dvb_stream_do_start()
443 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) in pvr2_dvb_create() argument
447 if (!pvr->hdw->hdw_desc->dvb_props) { in pvr2_dvb_create()
454 pvr2_channel_init(&adap->channel, pvr); in pvr2_dvb_create()
/linux/tools/testing/selftests/powerpc/include/
A Dreg.h59 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) argument
62 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument
63 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument
64 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
/linux/arch/powerpc/kernel/
A Dsetup-common.c223 unsigned int pvr; in show_cpuinfo() local
231 pvr = mfspr(SPRN_PVR); in show_cpuinfo()
233 maj = (pvr >> 8) & 0xFF; in show_cpuinfo()
234 min = pvr & 0xFF; in show_cpuinfo()
290 min = PVR_MIN(pvr); in show_cpuinfo()
293 maj = PVR_MAJ(pvr); in show_cpuinfo()
294 min = PVR_MIN(pvr); in show_cpuinfo()
301 min = pvr & 0xFF; in show_cpuinfo()
306 min = pvr & 0xFF; in show_cpuinfo()
310 min = pvr & 0xFF; in show_cpuinfo()
[all …]
A Dcputable.c106 struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr) in identify_cpu() argument
116 if ((pvr & s->pvr_mask) == s->pvr_value) in identify_cpu()
130 void __init identify_cpu_name(unsigned int pvr) in identify_cpu_name() argument
140 if ((pvr & s->pvr_mask) == s->pvr_value) { in identify_cpu_name()
/linux/tools/perf/arch/powerpc/util/
A Dutils_header.h12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument
13 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revision field */ argument
A Dheader.c17 unsigned long pvr; in get_cpuid() local
20 pvr = mfspr(SPRN_PVR); in get_cpuid()
22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
/linux/arch/microblaze/kernel/
A Dkgdb.c35 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/arch/powerpc/perf/
A De500-pmu.c121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu() local
124 if (PVR_VER(pvr) == PVR_VER_E500MC || PVR_VER(pvr) == PVR_VER_E5500) in init_e500_pmu()
127 else if (PVR_VER(pvr) != PVR_VER_E500V1 && PVR_VER(pvr) != PVR_VER_E500V2) in init_e500_pmu()
A Dpower9-pmu.c468 unsigned int pvr = mfspr(SPRN_PVR); in init_power9_pmu() local
470 if (PVR_VER(pvr) != PVR_POWER9) in init_power9_pmu()
474 if (!(pvr & PVR_POWER9_CUMULUS)) { in init_power9_pmu()
475 if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 1)) { in init_power9_pmu()
478 } else if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 2)) { in init_power9_pmu()
A Dpower10-pmu.c609 unsigned int pvr; in init_power10_pmu() local
612 pvr = mfspr(SPRN_PVR); in init_power10_pmu()
613 if (PVR_VER(pvr) != PVR_POWER10) in init_power10_pmu()
617 if ((PVR_CFG(pvr) == 1)) in init_power10_pmu()
623 if ((PVR_CFG(pvr) == 1)) { in init_power10_pmu()
643 unsigned int pvr; in init_power11_pmu() local
646 pvr = mfspr(SPRN_PVR); in init_power11_pmu()
647 if (PVR_VER(pvr) != PVR_POWER11) in init_power11_pmu()
A Dppc970-pmu.c494 unsigned int pvr = mfspr(SPRN_PVR); in init_ppc970_pmu() local
496 if (PVR_VER(pvr) != PVR_970 && PVR_VER(pvr) != PVR_970MP && in init_ppc970_pmu()
497 PVR_VER(pvr) != PVR_970FX && PVR_VER(pvr) != PVR_970GX) in init_ppc970_pmu()
A De6500-pmu.c110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu() local
112 if (PVR_VER(pvr) != PVR_VER_E6500) in init_e6500_pmu()
/linux/arch/sh/kernel/cpu/sh4/
A Dprobe.c17 unsigned long pvr, prr, cvr; in cpu_probe() local
28 pvr = (__raw_readl(CCN_PVR) >> 8) & 0xffffff; in cpu_probe()
56 if (((pvr >> 16) & 0xff) == 0x10) { in cpu_probe()
65 boot_cpu_data.cut_major = pvr & 0x7f; in cpu_probe()
80 pvr &= 0xffff; in cpu_probe()
86 switch (pvr) { in cpu_probe()
/linux/arch/powerpc/boot/
A Dreg.h10 u32 pvr; in mfpvr() local
11 asm volatile ("mfpvr %0" : "=r"(pvr)); in mfpvr()
12 return pvr; in mfpvr()
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
A Dmisc.h36 extern int pvr;
168 if (pvr == POWER10) in get_mmcr2_l2l3()
175 if (pvr != POWER10) in get_mmcr3_src()
182 if (pvr == POWER10) in get_mmcra_thd_cmp()
194 if (pvr == POWER10) in get_mmcra_bhrb_disable()
A Dmisc.c22 int pvr; variable
61 switch (pvr) { in init_ev_encodes()
126 pvr = PVR_VER(mfspr(SPRN_PVR)); in platform_check_for_tests()
132 if ((pvr != POWER10) && (pvr != POWER9)) in platform_check_for_tests()
/linux/arch/powerpc/include/asm/
A Dreg.h1248 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument
1249 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument
1251 #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) argument
1258 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ argument
1259 #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ argument
1260 #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ argument
1261 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument
1262 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument
1263 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c89 unsigned long pvr = mfspr(SPRN_PVR); in scan_pkey_feature() local
91 if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E || in scan_pkey_feature()
92 PVR_VER(pvr) == PVR_POWER8NVL || PVR_VER(pvr) == PVR_POWER9 || in scan_pkey_feature()
93 PVR_VER(pvr) == PVR_HX_C2000) in scan_pkey_feature()
/linux/arch/powerpc/platforms/powermac/
A Dsetup.c255 unsigned long pvr; in pmac_setup_arch() local
257 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch()
266 if (pvr >= 0x30 && pvr < 0x80) in pmac_setup_arch()
269 else if (pvr == 4 || pvr >= 8) in pmac_setup_arch()
A Dbootx_init.c430 unsigned long pvr; in btext_welcome() local
441 __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr)); in btext_welcome()
442 bootx_printf("\nPVR : 0x%x", pvr); in btext_welcome()
443 pvr >>= 16; in btext_welcome()
444 if (pvr > 1) { in btext_welcome()
448 if (pvr == 8 || pvr == 12 || pvr == 0x800c) { in btext_welcome()

Completed in 171 milliseconds

123