Lines Matching refs:l2x0_pmu
21 static struct pmu *l2x0_pmu; variable
298 if (event->attr.type != l2x0_pmu->type) in l2x0_pmu_event_init()
435 perf_pmu_migrate_context(l2x0_pmu, cpu, target); in l2x0_pmu_offline_cpu()
445 if (!l2x0_pmu) in l2x0_pmu_suspend()
448 l2x0_pmu_disable(l2x0_pmu); in l2x0_pmu_suspend()
461 if (!l2x0_pmu) in l2x0_pmu_resume()
471 l2x0_pmu_enable(l2x0_pmu); in l2x0_pmu_resume()
510 l2x0_pmu = kzalloc(sizeof(*l2x0_pmu), GFP_KERNEL); in l2x0_pmu_init()
511 if (!l2x0_pmu) { in l2x0_pmu_init()
516 *l2x0_pmu = (struct pmu) { in l2x0_pmu_init()
552 ret = perf_pmu_register(l2x0_pmu, l2x0_name, -1); in l2x0_pmu_init()
561 kfree(l2x0_pmu); in l2x0_pmu_init()
562 l2x0_pmu = NULL; in l2x0_pmu_init()