Home
last modified time | relevance | path

Searched refs:SPRN_SPURR (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/powerpc/include/asm/
Didle.h19 *this_cpu_ptr(&idle_entry_spurr_snap) = mfspr(SPRN_SPURR); in snapshot_spurr_idle_entry()
37 *idle_spurr_cycles_ptr += mfspr(SPRN_SPURR) - in_spurr; in update_idle_spurr_accounting()
Dreg.h376 #define SPRN_SPURR 0x134 /* Scaled PURR */ macro
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_p9_entry.c583 local_paca->kvm_hstate.host_spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
609 mtspr(SPRN_SPURR, vcpu->arch.spurr); in kvmhv_vcpu_entry_p9()
824 spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
879 mtspr(SPRN_SPURR, local_paca->kvm_hstate.host_spurr); in kvmhv_vcpu_entry_p9()
Dbook3s_hv_rmhandlers.S635 mfspr r6,SPRN_SPURR
641 mtspr SPRN_SPURR,r8
1224 mfspr r6,SPRN_SPURR
1241 mtspr SPRN_SPURR,r4
Dbook3s_emulate.c924 case SPRN_SPURR: in kvmppc_core_emulate_mfspr_pr()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Didle.c353 sprs.spurr = mfspr(SPRN_SPURR); in power7_idle_insn()
487 mtspr(SPRN_SPURR, sprs.spurr); in power7_idle_insn()
667 sprs.spurr = mfspr(SPRN_SPURR); in power9_idle_stop()
783 mtspr(SPRN_SPURR, sprs.spurr); in power9_idle_stop()
/linux-6.1.9/arch/powerpc/kernel/
Dtime.c175 return mfspr(SPRN_SPURR); in read_spurr()
Dsysfs.c581 SYSFS_SPRSETUP(spurr, SPRN_SPURR);