armpmu 905 arch/arm64/kernel/perf_event.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 916 arch/arm64/kernel/perf_event.c && test_bit(hw_event_id, armpmu->pmceid_bitmap)) { armpmu 122 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 155 drivers/perf/arm_pmu.c armpmu->write_counter(event, (u64)(-left) & max_period); armpmu 164 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 171 drivers/perf/arm_pmu.c new_raw_count = armpmu->read_counter(event); armpmu 194 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 202 drivers/perf/arm_pmu.c armpmu->disable(event); armpmu 210 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 229 drivers/perf/arm_pmu.c armpmu->enable(event); armpmu 235 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 236 drivers/perf/arm_pmu.c struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); armpmu 242 drivers/perf/arm_pmu.c armpmu->clear_event_idx(hw_events, event); armpmu 251 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 252 drivers/perf/arm_pmu.c struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); armpmu 257 drivers/perf/arm_pmu.c if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) armpmu 261 drivers/perf/arm_pmu.c idx = armpmu->get_event_idx(hw_events, event); armpmu 270 drivers/perf/arm_pmu.c armpmu->disable(event); armpmu 287 drivers/perf/arm_pmu.c struct arm_pmu *armpmu; armpmu 306 drivers/perf/arm_pmu.c armpmu = to_arm_pmu(event->pmu); armpmu 307 drivers/perf/arm_pmu.c return armpmu->get_event_idx(hw_events, event) >= 0; armpmu 338 drivers/perf/arm_pmu.c struct arm_pmu *armpmu; armpmu 348 drivers/perf/arm_pmu.c armpmu = *(void **)dev; armpmu 349 drivers/perf/arm_pmu.c if (WARN_ON_ONCE(!armpmu)) armpmu 353 drivers/perf/arm_pmu.c ret = armpmu->handle_irq(armpmu); armpmu 363 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 368 drivers/perf/arm_pmu.c mapping = armpmu->map_event(event); armpmu 390 drivers/perf/arm_pmu.c if (armpmu->set_event_filter && armpmu 391 drivers/perf/arm_pmu.c armpmu->set_event_filter(hwc, &event->attr)) { armpmu 424 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 434 drivers/perf/arm_pmu.c !cpumask_test_cpu(event->cpu, &armpmu->supported_cpus)) armpmu 441 drivers/perf/arm_pmu.c if (armpmu->map_event(event) == -ENOENT) armpmu 449 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(pmu); armpmu 450 drivers/perf/arm_pmu.c struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); armpmu 451 drivers/perf/arm_pmu.c int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); armpmu 454 drivers/perf/arm_pmu.c if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) armpmu 458 drivers/perf/arm_pmu.c armpmu->start(armpmu); armpmu 463 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(pmu); armpmu 466 drivers/perf/arm_pmu.c if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) armpmu 469 drivers/perf/arm_pmu.c armpmu->stop(armpmu); armpmu 479 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(event->pmu); armpmu 483 drivers/perf/arm_pmu.c ret = cpumask_test_cpu(cpu, &armpmu->supported_cpus); armpmu 484 drivers/perf/arm_pmu.c if (ret && armpmu->filter_match) armpmu 485 drivers/perf/arm_pmu.c return armpmu->filter_match(event); armpmu 493 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = to_arm_pmu(dev_get_drvdata(dev)); armpmu 494 drivers/perf/arm_pmu.c return cpumap_print_to_pagebuf(true, buf, &armpmu->supported_cpus); armpmu 660 drivers/perf/arm_pmu.c static void cpu_pm_pmu_setup(struct arm_pmu *armpmu, unsigned long cmd) armpmu 662 drivers/perf/arm_pmu.c struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); armpmu 666 drivers/perf/arm_pmu.c for (idx = 0; idx < armpmu->num_events; idx++) { armpmu 703 drivers/perf/arm_pmu.c struct arm_pmu *armpmu = container_of(b, struct arm_pmu, cpu_pm_nb); armpmu 704 drivers/perf/arm_pmu.c struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); armpmu 705 drivers/perf/arm_pmu.c int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); armpmu 707 drivers/perf/arm_pmu.c if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) armpmu 714 drivers/perf/arm_pmu.c if (cmd == CPU_PM_EXIT && armpmu->reset) armpmu 715 drivers/perf/arm_pmu.c armpmu->reset(armpmu); armpmu 722 drivers/perf/arm_pmu.c armpmu->stop(armpmu); armpmu 723 drivers/perf/arm_pmu.c cpu_pm_pmu_setup(armpmu, cmd); armpmu 727 drivers/perf/arm_pmu.c cpu_pm_pmu_setup(armpmu, cmd); armpmu 728 drivers/perf/arm_pmu.c armpmu->start(armpmu); armpmu 160 drivers/perf/arm_pmu_platform.c static int armpmu_request_irqs(struct arm_pmu *armpmu) armpmu 162 drivers/perf/arm_pmu_platform.c struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; armpmu 165 drivers/perf/arm_pmu_platform.c for_each_cpu(cpu, &armpmu->supported_cpus) { armpmu 178 drivers/perf/arm_pmu_platform.c static void armpmu_free_irqs(struct arm_pmu *armpmu) armpmu 181 drivers/perf/arm_pmu_platform.c struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; armpmu 183 drivers/perf/arm_pmu_platform.c for_each_cpu(cpu, &armpmu->supported_cpus) {