Lines Matching refs:mmcra
183 unsigned long mmcra = regs->dsisr; in perf_ip_adjust() local
185 if ((ppmu->flags & PPMU_HAS_SSLOT) && (mmcra & MMCRA_SAMPLE_ENABLE)) { in perf_ip_adjust()
186 unsigned long slot = (mmcra & MMCRA_SLOT) >> MMCRA_SLOT_SHIFT; in perf_ip_adjust()
204 unsigned long mmcra = regs->dsisr; in perf_get_data_addr() local
221 sdar_valid = mmcra & sdsync; in perf_get_data_addr()
224 if (!(mmcra & MMCRA_SAMPLE_ENABLE) || sdar_valid) in perf_get_data_addr()
269 unsigned long mmcra = regs->dsisr; in perf_get_misc_flags() local
270 int marked = mmcra & MMCRA_SAMPLE_ENABLE; in perf_get_misc_flags()
326 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs() local
327 int marked = mmcra & MMCRA_SAMPLE_ENABLE; in perf_read_regs()
330 regs->dsisr = mmcra; in perf_read_regs()
386 unsigned long mmcra = regs->dsisr; in siar_valid() local
387 int marked = mmcra & MMCRA_SAMPLE_ENABLE; in siar_valid()
401 return mmcra & POWER7P_MMCRA_SIAR_VALID; in siar_valid()
1308 unsigned long flags, mmcr0, val, mmcra; in power_pmu_disable() local
1369 val = mmcra = cpuhw->mmcr.mmcra; in power_pmu_disable()
1384 if (val != mmcra) { in power_pmu_disable()
1468 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1508 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1583 if (cpuhw->mmcr.mmcra & MMCRA_SAMPLE_ENABLE) { in power_pmu_enable()
1585 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra); in power_pmu_enable()