Searched refs:mmcr2 (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| H A D | misc.h | 125 static inline int get_mmcr2_fcs(u64 mmcr2, int pmc) 127 return ((mmcr2 & (1ull << (63 - (((pmc) - 1) * 9)))) >> (63 - (((pmc) - 1) * 9))); in get_mmcr2_fcp() 130 static inline int get_mmcr2_fcp(u64 mmcr2, int pmc) 132 return ((mmcr2 & (1ull << (62 - (((pmc) - 1) * 9)))) >> (62 - (((pmc) - 1) * 9))); in get_mmcr2_fcpc() 135 static inline int get_mmcr2_fcpc(u64 mmcr2, int pmc) 137 return ((mmcr2 & (1ull << (61 - (((pmc) - 1) * 9)))) >> (61 - (((pmc) - 1) * 9))); in get_mmcr2_fcm1() 140 static inline int get_mmcr2_fcm1(u64 mmcr2, int pmc) 142 return ((mmcr2 & (1ull << (60 - (((pmc) - 1) * 9)))) >> (60 - (((pmc) - 1) * 9))); in get_mmcr2_fcm0() 145 static inline int get_mmcr2_fcm0(u64 mmcr2, int pmc) 147 return ((mmcr2 in get_mmcr2_fcwait() 121 get_mmcr2_fcs(u64 mmcr2,int pmc) get_mmcr2_fcs() argument 126 get_mmcr2_fcp(u64 mmcr2,int pmc) get_mmcr2_fcp() argument 131 get_mmcr2_fcpc(u64 mmcr2,int pmc) get_mmcr2_fcpc() argument 136 get_mmcr2_fcm1(u64 mmcr2,int pmc) get_mmcr2_fcm1() argument 141 get_mmcr2_fcm0(u64 mmcr2,int pmc) get_mmcr2_fcm0() argument 146 get_mmcr2_fcwait(u64 mmcr2,int pmc) get_mmcr2_fcwait() argument 151 get_mmcr2_fch(u64 mmcr2,int pmc) get_mmcr2_fch() argument 156 get_mmcr2_fcti(u64 mmcr2,int pmc) get_mmcr2_fcti() argument 161 get_mmcr2_fcta(u64 mmcr2,int pmc) get_mmcr2_fcta() argument 166 get_mmcr2_l2l3(u64 mmcr2,int pmc) get_mmcr2_l2l3() argument [all...] |
| /linux/arch/powerpc/perf/ |
| H A D | mpc7450-pmu.c | 268 u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0; in mpc7450_compute_mmcr() local 307 mmcr2 = 0x80000000; in mpc7450_compute_mmcr() 327 mmcr->mmcr2 = mmcr2; in mpc7450_compute_mmcr() 334 mmcr->mmcra = mmcr2; in mpc7450_compute_mmcr()
|
| H A D | core-book3s.c | 636 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 680 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2 | current->thread.mmcr2); in ebb_switch_in() 1510 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2); in power_pmu_enable()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv_p9_perf.c | 61 host_os_sprs->mmcr2 = mfspr(SPRN_MMCR2); in switch_pmu_to_guest() 202 mtspr(SPRN_MMCR2, host_os_sprs->mmcr2); in switch_pmu_to_host()
|
| H A D | book3s_hv.h | 20 unsigned long mmcr2; member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | switch_to.h | 119 t->thread.mmcr2 = 0; in clear_task_ebb()
|
| H A D | processor.h | 255 unsigned long mmcr2; member
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | idle.c | 599 u64 mmcr2; member 676 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop() 792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
|