Searched refs:SPRN_PURR (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | idle.h | 14 *this_cpu_ptr(&idle_entry_purr_snap) = mfspr(SPRN_PURR); in snapshot_purr_idle_entry() 28 wait_cycles += mfspr(SPRN_PURR) - in_purr; in update_idle_purr_accounting()
|
D | reg.h | 739 #define SPRN_PURR 0x135 /* Processor Utilization of Resources Reg */ macro
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | hvCall_inst.c | 95 h->purr_start = mfspr(SPRN_PURR); in probe_hcall_entry() 109 h->purr_total += mfspr(SPRN_PURR) - h->purr_start; in probe_hcall_exit()
|
D | lparcfg.c | 57 atomic64_add(mfspr(SPRN_PURR), sum); in cpu_get_purr()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | idle.c | 352 sprs.purr = mfspr(SPRN_PURR); in power7_idle_insn() 487 mtspr(SPRN_PURR, sprs.purr); in power7_idle_insn() 667 sprs.purr = mfspr(SPRN_PURR); in power9_idle_stop() 784 mtspr(SPRN_PURR, sprs.purr); in power9_idle_stop()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | time.c | 172 return mfspr(SPRN_PURR); in read_spurr()
|
D | sysfs.c | 580 SYSFS_SPRSETUP(purr, SPRN_PURR);
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_rmhandlers.S | 694 mfspr r5,SPRN_PURR 700 mtspr SPRN_PURR,r7 1592 mfspr r5,SPRN_PURR 1609 mtspr SPRN_PURR,r3
|
D | book3s_emulate.c | 919 case SPRN_PURR: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv.c | 3478 local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); in kvmhv_load_hv_regs_and_go() 3480 mtspr(SPRN_PURR, vcpu->arch.purr); in kvmhv_load_hv_regs_and_go() 3514 purr = mfspr(SPRN_PURR); in kvmhv_load_hv_regs_and_go() 3516 mtspr(SPRN_PURR, local_paca->kvm_hstate.host_purr + in kvmhv_load_hv_regs_and_go()
|