/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | pvr.h | 16 unsigned pvr[12]; member 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[0] & PVR0_USE_DCACHE_MASK) 130 #define PVR_VERSION(_pvr) ((_pvr.pvr[0] & PVR0_VERSION_MASK) >> 8) [all …]
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/ |
D | cpuinfo-pvr-full.c | 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 30 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() 56 ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) | in set_cpuinfo_pvr_full() 57 PVR_UNALIGNED_EXCEPTION(pvr) | in set_cpuinfo_pvr_full() 58 PVR_ILL_OPCODE_EXCEPTION(pvr) | in set_cpuinfo_pvr_full() [all …]
|
D | pvr.c | 69 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 …]
|
D | Makefile | 13 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-main.c | 43 static void pvr_setup_attach(struct pvr2_context *pvr) in pvr_setup_attach() argument 46 pvr2_v4l2_create(pvr); in pvr_setup_attach() 49 pvr2_dvb_create(pvr); in pvr_setup_attach() 52 pvr2_sysfs_create(pvr,class_ptr); in pvr_setup_attach() 59 struct pvr2_context *pvr; in pvr_probe() local 62 pvr = pvr2_context_create(intf,devid,pvr_setup_attach); in pvr_probe() 63 if (!pvr) { in pvr_probe() 69 pvr2_trace(PVR2_TRACE_INIT,"pvr_probe(pvr=%p)",pvr); in pvr_probe() 71 usb_set_intfdata(intf, pvr); in pvr_probe() 82 struct pvr2_context *pvr = usb_get_intfdata(intf); in pvr_disconnect() local [all …]
|
D | pvrusb2-dvb.c | 131 struct pvr2_context *pvr = adap->channel.mc_head; in pvr2_dvb_stream_do_start() local 139 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); in pvr2_dvb_stream_do_start() 151 pvr2_stream_set_callback(pvr->video_stream.stream, in pvr2_dvb_stream_do_start() 445 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) in pvr2_dvb_create() argument 449 if (!pvr->hdw->hdw_desc->dvb_props) { in pvr2_dvb_create() 456 pvr2_channel_init(&adap->channel, pvr); in pvr2_dvb_create()
|
D | pvrusb2-dvb.h | 43 struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr);
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | setup-common.c | 229 unsigned int pvr; in show_cpuinfo() local 235 pvr = per_cpu(cpu_pvr, cpu_id); in show_cpuinfo() 237 pvr = mfspr(SPRN_PVR); in show_cpuinfo() 239 maj = (pvr >> 8) & 0xFF; in show_cpuinfo() 240 min = pvr & 0xFF; in show_cpuinfo() 248 seq_printf(m, "unknown (%08x)", pvr); in show_cpuinfo() 291 if (PVR_VER(pvr) & 0x8000) { in show_cpuinfo() 292 switch (PVR_VER(pvr)) { in show_cpuinfo() 299 maj = ((pvr >> 8) & 0xF); in show_cpuinfo() 300 min = PVR_MIN(pvr); in show_cpuinfo() [all …]
|
D | mce.c | 626 int pvr; in init_debug_trig_function() local 650 pvr = mfspr(SPRN_PVR); in init_debug_trig_function() 652 if ((PVR_VER(pvr) == PVR_POWER9) && (pvr & 0xe000) == 0) { in init_debug_trig_function() 654 if ((pvr & 0xfff) >= 0x202) in init_debug_trig_function() 657 else if ((pvr & 0xfff) >= 0x200) in init_debug_trig_function()
|
D | setup_64.c | 582 u32 pvr; in initialize_cache_info() local 590 pvr = PVR_VER(mfspr(SPRN_PVR)); in initialize_cache_info() 591 if (pvr == PVR_POWER8 || pvr == PVR_POWER8E || in initialize_cache_info() 592 pvr == PVR_POWER8NVL) { in initialize_cache_info()
|
D | dt_cpu_ftrs.c | 763 static __init void update_tlbie_feature_flag(unsigned long pvr) in update_tlbie_feature_flag() argument 765 if (PVR_VER(pvr) == PVR_POWER9) { in update_tlbie_feature_flag() 770 if ((pvr & 0xe000) == 0) { in update_tlbie_feature_flag() 772 if ((pvr & 0xfff) < 0x203) in update_tlbie_feature_flag() 774 } else if ((pvr & 0xc000) == 0) { in update_tlbie_feature_flag() 776 if ((pvr & 0xfff) < 0x103) in update_tlbie_feature_flag()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
D | utils_header.h | 12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument 13 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument
|
D | header.c | 17 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | reg.h | 10 u32 pvr; in mfpvr() local 11 asm volatile ("mfpvr %0" : "=r"(pvr)); in mfpvr() 12 return pvr; in mfpvr()
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 17 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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | reg.h | 1269 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ argument 1270 #define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revison field */ argument 1272 #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) argument 1279 #define PVR_FAM(pvr) (((pvr) >> 20) & 0xFFF) /* Family field */ argument 1280 #define PVR_MEM(pvr) (((pvr) >> 16) & 0xF) /* Member field */ argument 1281 #define PVR_CORE(pvr) (((pvr) >> 12) & 0xF) /* Core field */ argument 1282 #define PVR_CFG(pvr) (((pvr) >> 8) & 0xF) /* Configuration field */ argument 1283 #define PVR_MAJ(pvr) (((pvr) >> 4) & 0xF) /* Major revision field */ argument 1284 #define PVR_MIN(pvr) (((pvr) >> 0) & 0xF) /* Minor revision field */ argument
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 84 unsigned long pvr = mfspr(SPRN_PVR); in scan_pkey_feature() local 86 if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E || in scan_pkey_feature() 87 PVR_VER(pvr) == PVR_POWER8NVL || PVR_VER(pvr) == PVR_POWER9) in scan_pkey_feature()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
D | setup.c | 269 unsigned long pvr; in pmac_setup_arch() local 271 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch() 280 if (pvr >= 0x30 && pvr < 0x80) in pmac_setup_arch() 283 else if (pvr == 4 || pvr >= 8) in pmac_setup_arch()
|
D | bootx_init.c | 429 unsigned long pvr; in btext_welcome() local 440 __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr)); in btext_welcome() 441 bootx_printf("\nPVR : 0x%x", pvr); in btext_welcome() 442 pvr >>= 16; in btext_welcome() 443 if (pvr > 1) { in btext_welcome() 447 if (pvr == 8 || pvr == 12 || pvr == 0x800c) { in btext_welcome()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | power9-pmu.c | 445 unsigned int pvr = mfspr(SPRN_PVR); in init_power9_pmu() local 453 if (!(pvr & PVR_POWER9_CUMULUS)) { in init_power9_pmu() 454 if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 1)) { in init_power9_pmu() 457 } else if ((PVR_CFG(pvr) == 2) && (PVR_MIN(pvr) == 2)) { in init_power9_pmu()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | sunsab.h | 35 u8 pvr; /* Port Value Register */ member 71 u8 pvr; member 107 u8 pvr; member
|
/kernel/linux/linux-5.10/arch/powerpc/math-emu/ |
D | math_efp.c | 892 u32 pvr, maj, min; in spe_mathemu_init() local 894 pvr = mfspr(SPRN_PVR); in spe_mathemu_init() 896 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in spe_mathemu_init() 897 (PVR_VER(pvr) == PVR_VER_E500V2)) { in spe_mathemu_init() 898 maj = PVR_MAJ(pvr); in spe_mathemu_init() 899 min = PVR_MIN(pvr); in spe_mathemu_init()
|
/kernel/linux/linux-5.10/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 43 unsigned int pvr; in mpc52xx_can_get_clock() local 49 pvr = mfspr(SPRN_PVR); in mpc52xx_can_get_clock() 68 if (*mscan_clksrc == MSCAN_CLKSRC_BUS || pvr == 0x80822011) in mpc52xx_can_get_clock()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 577 u32 pvr; in pmac_cpufreq_init_750FX() local 594 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX() 595 has_cpu_l2lve = !((pvr & 0xf00) == 0x100); in pmac_cpufreq_init_750FX()
|