Lines Matching refs:ppmu
44 struct power_pmu *ppmu;
93 if ((mmcra & MMCRA_SAMPLE_ENABLE) && !(ppmu->flags & PPMU_ALT_SIPR)) {
112 unsigned long sdsync = (ppmu->flags & PPMU_ALT_SIPR) ?
128 if (ppmu->flags & PPMU_ALT_SIPR) {
259 unsigned long addf = ppmu->add_fields;
260 unsigned long tadd = ppmu->test_adder;
262 if (n_ev > ppmu->n_counter)
268 && !ppmu->limited_pmc_event(event_id[i])) {
269 ppmu->get_alternatives(event_id[i], cflags[i],
273 if (ppmu->get_constraint(event_id[i], &cpuhw->amasks[i][0],
292 if (!ppmu->get_alternatives)
296 n_alt[i] = ppmu->get_alternatives(event_id[i], cflags[i],
299 ppmu->get_constraint(cpuhw->alternatives[i][j],
431 return (ppmu->flags & PPMU_LIMITED_PMC5_6)
525 if (!ppmu)
580 if (!ppmu)
607 if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index,
746 if (n0 >= ppmu->n_counter)
800 ppmu->disable_pmc(event->hw.idx - 1, cpuhw->mmcr);
890 if (!ppmu)
936 if (ppmu->limited_pmc_event(ev))
943 if (!ppmu->get_alternatives)
947 n = ppmu->get_alternatives(ev, flags, alt);
963 n = ppmu->get_alternatives(ev, flags, alt);
995 if (!ppmu->cache_events)
1008 ev = (*ppmu->cache_events)[type][op][result];
1028 if (!ppmu)
1033 if (ev >= ppmu->n_generic || ppmu->generic_events[ev] == 0)
1035 ev = ppmu->generic_events[ev];
1067 if (ppmu->flags & PPMU_LIMITED_PMC5_6) {
1070 } else if (ppmu->limited_pmc_event(ev)) {
1089 n = collect_events(event->group_leader, ppmu->n_counter - 1,
1271 for (i = 0; i < ppmu->n_counter; ++i) {
1292 if (!ppmu)
1317 if (ppmu)
1320 ppmu = pmu;