Lines Matching refs:ebb
127 static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) in ebb_switch_in() argument
136 static void pmao_restore_workaround(bool ebb) { } in pmao_restore_workaround() argument
646 static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) in ebb_switch_in() argument
650 if (!ebb) in ebb_switch_in()
693 static void pmao_restore_workaround(bool ebb) in pmao_restore_workaround() argument
737 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()
1362 bool ebb; in power_pmu_enable() local
1384 ebb = is_ebb_event(cpuhw->event[0]); in power_pmu_enable()
1472 if (ebb) in power_pmu_enable()
1495 pmao_restore_workaround(ebb); in power_pmu_enable()
1497 mmcr0 = ebb_switch_in(ebb, cpuhw); in power_pmu_enable()