/linux-master/arch/microblaze/kernel/cpu/ |
H A D | pvr.c | 16 #include <asm/pvr.h> 20 * Until we get an assembler that knows about the pvr registers, 69 get_single_pvr(0, p->pvr[0]); 70 get_single_pvr(1, p->pvr[1]); 71 get_single_pvr(2, p->pvr[2]); 72 get_single_pvr(3, p->pvr[3]); 73 get_single_pvr(4, p->pvr[4]); 74 get_single_pvr(5, p->pvr[5]); 75 get_single_pvr(6, p->pvr[6]); 76 get_single_pvr(7, p->pvr[ [all...] |
H A D | cpuinfo-pvr-full.c | 15 #include <asm/pvr.h> 20 * the PVR macros in pvr.h. 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 30 struct pvr_s pvr; local 32 get_pvr(&pvr); 40 temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | 41 PVR_USE_PCMP_INSTR(pvr) | PVR_USE_DIV(pvr); 46 temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL6 [all...] |
H A D | Makefile | 13 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | utils_header.h | 12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ 13 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revision field */
|
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));
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pvr.h | 16 unsigned pvr[12]; member in struct:pvr_s 19 /* The following taken from Xilinx's standalone BSP pvr.h */ 122 #define PVR_IS_FULL(_pvr) (_pvr.pvr[0] & PVR0_PVR_FULL_MASK) 123 #define PVR_USE_BARREL(_pvr) (_pvr.pvr[0] & PVR0_USE_BARREL_MASK) 124 #define PVR_USE_DIV(_pvr) (_pvr.pvr[0] & PVR0_USE_DIV_MASK) 125 #define PVR_USE_HW_MUL(_pvr) (_pvr.pvr[0] & PVR0_USE_HW_MUL_MASK) 126 #define PVR_USE_FPU(_pvr) (_pvr.pvr[0] & PVR0_USE_FPU_MASK) 127 #define PVR_USE_FPU2(_pvr) (_pvr.pvr[2] & PVR2_USE_FPU2_MASK) 128 #define PVR_USE_ICACHE(_pvr) (_pvr.pvr[0] & PVR0_USE_ICACHE_MASK) 129 #define PVR_USE_DCACHE(_pvr) (_pvr.pvr[ [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | reg.h | 10 u32 pvr; local 11 asm volatile ("mfpvr %0" : "=r"(pvr)); 12 return pvr;
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-main.c | 37 static void pvr_setup_attach(struct pvr2_context *pvr) argument 40 pvr2_v4l2_create(pvr); 43 pvr2_dvb_create(pvr); 45 pvr2_sysfs_create(pvr); 51 struct pvr2_context *pvr; local 54 pvr = pvr2_context_create(intf,devid,pvr_setup_attach); 55 if (!pvr) { 61 pvr2_trace(PVR2_TRACE_INIT,"pvr_probe(pvr=%p)",pvr); 63 usb_set_intfdata(intf, pvr); 74 struct pvr2_context *pvr = usb_get_intfdata(intf); local [all...] |
H A D | pvrusb2-dvb.h | 43 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr);
|
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/arch/microblaze/kernel/ |
H A D | kgdb.c | 16 #include <asm/pvr.h> 34 /* keep pvr separately because it is unchangeable */ 35 static struct pvr_s pvr; variable in typeref:struct:pvr_s 51 /* pvr part - we have 11 pvr regs */ 53 gdb_regs[GDB_PVR + i] = pvr.pvr[i]; 103 /* pvr part - we have 11 pvr regs */ 105 gdb_regs[GDB_PVR + i] = pvr [all...] |
/linux-master/arch/powerpc/perf/ |
H A D | e500-pmu.c | 121 unsigned int pvr = mfspr(SPRN_PVR); local 124 if (PVR_VER(pvr) == PVR_VER_E500MC || PVR_VER(pvr) == PVR_VER_E5500) 127 else if (PVR_VER(pvr) != PVR_VER_E500V1 && PVR_VER(pvr) != PVR_VER_E500V2)
|
H A D | e6500-pmu.c | 110 unsigned int pvr = mfspr(SPRN_PVR); local 112 if (PVR_VER(pvr) != PVR_VER_E6500)
|
H A D | power9-pmu.c | 468 unsigned int pvr = mfspr(SPRN_PVR); local 470 if (PVR_VER(pvr) != PVR_POWER9) 474 if (!(pvr & PVR_POWER9_CUMULUS)) { 475 if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 1)) { 478 } else if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 2)) {
|
H A D | ppc970-pmu.c | 494 unsigned int pvr = mfspr(SPRN_PVR); local 496 if (PVR_VER(pvr) != PVR_970 && PVR_VER(pvr) != PVR_970MP && 497 PVR_VER(pvr) != PVR_970FX && PVR_VER(pvr) != PVR_970GX)
|
/linux-master/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 59 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) 62 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ 63 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ 64 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */
|
/linux-master/arch/powerpc/kernel/ |
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 | 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/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.h | 36 extern int pvr; 168 if (pvr == POWER10) 175 if (pvr != POWER10) 182 if (pvr == POWER10) 194 if (pvr == POWER10)
|
H A D | misc.c | 22 int pvr; variable 61 switch (pvr) { 126 pvr = PVR_VER(mfspr(SPRN_PVR)); 132 if ((pvr != POWER10) && (pvr != POWER9))
|
/linux-master/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | blacklisted_events_test.c | 84 SKIP_IF(PVR_VER(pvr) != POWER9); 85 SKIP_IF(!(pvr & PVR_POWER9_CUMULUS));
|
/linux-master/arch/sh/kernel/cpu/sh4/ |
H A D | probe.c | 17 unsigned long pvr, prr, cvr; local 28 pvr = (__raw_readl(CCN_PVR) >> 8) & 0xffffff; 56 if (((pvr >> 16) & 0xff) == 0x10) { 65 boot_cpu_data.cut_major = pvr & 0x7f; 80 pvr &= 0xffff; 86 switch (pvr) {
|
/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/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...] |
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | setup.c | 255 unsigned long pvr; local 257 pvr = PVR_VER(mfspr(SPRN_PVR)); 266 if (pvr >= 0x30 && pvr < 0x80) 269 else if (pvr == 4 || pvr >= 8)
|