Searched refs:MMCRA_SAMPLE_ENABLE (Results 1 – 10 of 10) sorted by relevance
191 mmcra |= MMCRA_SAMPLE_ENABLE; in power4_cpu_setup()293 if (use_slot_nums && (mmcra & MMCRA_SAMPLE_ENABLE)) { in get_pc()
91 #define MMCRA_SAMPLE_ENABLE 0 macro155 if ((ppmu->flags & PPMU_HAS_SSLOT) && (mmcra & MMCRA_SAMPLE_ENABLE)) { in perf_ip_adjust()192 if (!(mmcra & MMCRA_SAMPLE_ENABLE) || sdar_valid) in perf_get_data_addr()271 int marked = mmcra & MMCRA_SAMPLE_ENABLE; in perf_read_regs()329 int marked = mmcra & MMCRA_SAMPLE_ENABLE; in siar_valid()1206 if (cpuhw->mmcr[2] & MMCRA_SAMPLE_ENABLE) { in power_pmu_disable()1208 cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_disable()1282 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()1320 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()1392 if (cpuhw->mmcr[2] & MMCRA_SAMPLE_ENABLE) { in power_pmu_enable()
500 mmcra |= MMCRA_SAMPLE_ENABLE; in p4_compute_mmcr()511 mmcra |= MMCRA_SAMPLE_ENABLE; in p4_compute_mmcr()
299 mmcra |= MMCRA_SAMPLE_ENABLE; in power7_compute_mmcr()
385 mmcra |= MMCRA_SAMPLE_ENABLE; in p970_compute_mmcr()
246 mmcra |= MMCRA_SAMPLE_ENABLE; in p6_compute_mmcr()
528 mmcra |= MMCRA_SAMPLE_ENABLE; in power5_compute_mmcr()
583 mmcra |= MMCRA_SAMPLE_ENABLE; in power5p_compute_mmcr()
452 mmcra |= MMCRA_SAMPLE_ENABLE; in power8_compute_mmcr()
720 #define MMCRA_SAMPLE_ENABLE 0x00000001UL /* enable sampling */ macro