Searched refs:SPRN_MMCR0 (Results 1 – 13 of 13) sorted by relevance
/arch/powerpc/kernel/ |
D | pmc.c | 30 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf() 32 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); in dummy_perf()
|
D | cpu_setup_power.S | 211 mtspr SPRN_MMCR0,r5
|
D | dt_cpu_ftrs.c | 382 mtspr(SPRN_MMCR0, 0); in init_pmu_power8() 421 mtspr(SPRN_MMCR0, 0); in init_pmu_power9()
|
D | sysfs.c | 462 SYSFS_PMCSETUP(mmcr0, SPRN_MMCR0);
|
/arch/powerpc/oprofile/ |
D | op_model_power4.c | 178 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 182 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 191 mfspr(SPRN_MMCR0)); in power4_cpu_setup() 216 mmcr0 = mfspr(SPRN_MMCR0); in power4_start() 230 mtspr(SPRN_MMCR0, mmcr0); in power4_start() 243 mmcr0 = mfspr(SPRN_MMCR0); in power4_stop() 245 mtspr(SPRN_MMCR0, mmcr0); in power4_stop() 408 mmcr0 = mfspr(SPRN_MMCR0); in power4_handle_interrupt() 429 mtspr(SPRN_MMCR0, mmcr0); in power4_handle_interrupt()
|
D | op_model_7450.c | 57 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_start_ctrs() 62 mtspr(SPRN_MMCR0, mmcr0); in pmc_start_ctrs() 68 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_stop_ctrs() 73 mtspr(SPRN_MMCR0, mmcr0); in pmc_stop_ctrs() 83 mtspr(SPRN_MMCR0, mmcr0_val); in fsl7450_cpu_setup()
|
/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 120 mfspr r7, SPRN_MMCR0 /* save MMCR0 */ 121 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable interrupts */
|
D | book3s_emulate.c | 839 case SPRN_MMCR0: in kvmppc_core_emulate_mtspr_pr() 1002 case SPRN_MMCR0: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv_rmhandlers.S | 3451 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */ 3494 mtspr SPRN_MMCR0, r3 3541 mtspr SPRN_MMCR0, r3 3580 mfspr r4, SPRN_MMCR0 /* save MMCR0 */ 3581 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */ 3641 mtspr SPRN_MMCR0, r3
|
/arch/powerpc/perf/ |
D | core-book3s.c | 710 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround() 713 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround() 839 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug() 1168 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0() 1182 "i" (SPRN_MMCR0), in write_mmcr0() 1195 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0() 1224 val = mmcr0 = mfspr(SPRN_MMCR0); in power_pmu_disable() 1357 mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) in power_pmu_enable()
|
/arch/powerpc/platforms/powernv/ |
D | idle.c | 658 mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop() 671 sprs.mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop() 721 mtspr(SPRN_MMCR0, mmcr0); in power9_idle_stop() 790 mtspr(SPRN_MMCR0, sprs.mmcr0); in power9_idle_stop()
|
/arch/powerpc/include/asm/ |
D | reg.h | 830 #define SPRN_MMCR0 795 macro 1006 #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ macro
|
/arch/powerpc/xmon/ |
D | xmon.c | 1914 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|