Lines Matching refs:ebb
120 static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) in ebb_switch_in() argument
129 static void pmao_restore_workaround(bool ebb) { } in pmao_restore_workaround() argument
564 static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) in ebb_switch_in() argument
568 if (!ebb) in ebb_switch_in()
605 static void pmao_restore_workaround(bool ebb) in pmao_restore_workaround() argument
649 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()
1222 bool ebb; in power_pmu_enable() local
1244 ebb = is_ebb_event(cpuhw->event[0]); in power_pmu_enable()
1327 if (ebb) in power_pmu_enable()
1350 pmao_restore_workaround(ebb); in power_pmu_enable()
1352 mmcr0 = ebb_switch_in(ebb, cpuhw); in power_pmu_enable()