Lines Matching refs:n_events
32 int n_events; member
1372 if (cpuhw->n_events == 0) { in power_pmu_enable()
1405 if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index, in power_pmu_enable()
1447 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()
1460 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()
1566 n0 = cpuhw->n_events; in power_pmu_add()
1601 ++cpuhw->n_events; in power_pmu_add()
1639 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_del()
1641 while (++i < cpuhw->n_events) { in power_pmu_del()
1646 --cpuhw->n_events; in power_pmu_del()
1666 if (cpuhw->n_events == 0) { in power_pmu_del()
1757 cpuhw->n_txn_start = cpuhw->n_events; in power_pmu_start_txn()
1801 n = cpuhw->n_events; in power_pmu_commit_txn()
2332 for (j = 0; j < cpuhw->n_events; ++j) { in __perf_event_interrupt()
2346 for (i = 0; i < cpuhw->n_events; ++i) { in __perf_event_interrupt()