Searched refs:SPRN_MMCR0 (Results 1 – 13 of 13) sorted by relevance
/arch/powerpc/kernel/ |
D | pmc.c | 34 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf() 36 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); in dummy_perf()
|
D | cpu_setup_power.S | 260 mtspr SPRN_MMCR0,r5
|
D | dt_cpu_ftrs.c | 413 mtspr(SPRN_MMCR0, 0); in init_pmu_power8() 453 mtspr(SPRN_MMCR0, 0); in init_pmu_power9()
|
D | idle_book3s.S | 376 mfspr r4,SPRN_MMCR0 577 mtspr SPRN_MMCR0,r4
|
D | sysfs.c | 467 SYSFS_PMCSETUP(mmcr0, SPRN_MMCR0);
|
/arch/powerpc/oprofile/ |
D | op_model_power4.c | 182 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 186 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 195 mfspr(SPRN_MMCR0)); in power4_cpu_setup() 220 mmcr0 = mfspr(SPRN_MMCR0); in power4_start() 234 mtspr(SPRN_MMCR0, mmcr0); in power4_start() 247 mmcr0 = mfspr(SPRN_MMCR0); in power4_stop() 249 mtspr(SPRN_MMCR0, mmcr0); in power4_stop() 412 mmcr0 = mfspr(SPRN_MMCR0); in power4_handle_interrupt() 433 mtspr(SPRN_MMCR0, mmcr0); in power4_handle_interrupt()
|
D | op_model_7450.c | 61 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_start_ctrs() 66 mtspr(SPRN_MMCR0, mmcr0); in pmc_start_ctrs() 72 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_stop_ctrs() 77 mtspr(SPRN_MMCR0, mmcr0); in pmc_stop_ctrs() 87 mtspr(SPRN_MMCR0, mmcr0_val); in fsl7450_cpu_setup()
|
/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 75 mfspr r7, SPRN_MMCR0 /* save MMCR0 */ 76 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable interrupts */
|
D | book3s_emulate.c | 498 case SPRN_MMCR0: in kvmppc_core_emulate_mtspr_pr() 649 case SPRN_MMCR0: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv_rmhandlers.S | 140 mtspr SPRN_MMCR0, r3 785 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */ 828 mtspr SPRN_MMCR0, r3 1696 mfspr r4, SPRN_MMCR0 /* save MMCR0 */ 1697 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */ 3205 mtspr SPRN_MMCR0, r3
|
/arch/powerpc/perf/ |
D | core-book3s.c | 700 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround() 703 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround() 837 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug() 1171 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0() 1185 "i" (SPRN_MMCR0), in write_mmcr0() 1198 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0() 1227 val = mmcr0 = mfspr(SPRN_MMCR0); in power_pmu_disable() 1360 mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) in power_pmu_enable()
|
/arch/powerpc/include/asm/ |
D | reg.h | 787 #define SPRN_MMCR0 795 macro 963 #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ macro
|
/arch/powerpc/xmon/ |
D | xmon.c | 1801 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|