Searched refs:SPRN_PURR (Results 1 – 10 of 10) sorted by relevance
/linux/arch/powerpc/include/asm/ |
H A 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()
|
H A D | reg.h | 742 #define SPRN_PURR 0x135 /* Processor Utilization of Resources Reg */ macro
|
/linux/arch/powerpc/platforms/pseries/ |
H A 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()
|
H A D | lparcfg.c | 58 atomic64_add(mfspr(SPRN_PURR), sum); in cpu_get_purr()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 582 local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); in kvmhv_vcpu_entry_p9() 608 mtspr(SPRN_PURR, vcpu->arch.purr); in kvmhv_vcpu_entry_p9() 823 purr = mfspr(SPRN_PURR); in kvmhv_vcpu_entry_p9() 878 mtspr(SPRN_PURR, local_paca->kvm_hstate.host_purr); in kvmhv_vcpu_entry_p9()
|
H A D | book3s_hv_rmhandlers.S | 635 mfspr r5,SPRN_PURR 641 mtspr SPRN_PURR,r7 1225 mfspr r5,SPRN_PURR 1242 mtspr SPRN_PURR,r3
|
H A D | book3s_emulate.c | 918 case SPRN_PURR: in kvmppc_core_emulate_mfspr_pr()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 354 sprs.purr = mfspr(SPRN_PURR); in power7_idle_insn() 488 mtspr(SPRN_PURR, sprs.purr); in power7_idle_insn() 668 sprs.purr = mfspr(SPRN_PURR); in power9_idle_stop() 784 mtspr(SPRN_PURR, sprs.purr); in power9_idle_stop()
|
/linux/arch/powerpc/kernel/ |
H A D | time.c | 162 return mfspr(SPRN_PURR); in read_spurr()
|
H A D | sysfs.c | 585 SYSFS_SPRSETUP(purr, SPRN_PURR);
|