Home
last modified time | relevance | path

Searched refs:pmu_lock (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/arch/arm/kernel/
Dperf_event_xscale.c232 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale1pmu_enable_event()
237 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in xscale1pmu_enable_event()
266 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale1pmu_disable_event()
271 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in xscale1pmu_disable_event()
306 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale1pmu_start()
310 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in xscale1pmu_start()
318 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale1pmu_stop()
322 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in xscale1pmu_stop()
590 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale2pmu_enable_event()
593 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in xscale2pmu_enable_event()
[all …]
Dperf_event_v6.c297 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv6pmu_enable_event()
302 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv6pmu_enable_event()
368 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv6pmu_start()
372 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv6pmu_start()
380 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv6pmu_stop()
384 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv6pmu_stop()
447 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv6pmu_disable_event()
452 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv6pmu_disable_event()
478 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv6mpcore_pmu_disable_event()
483 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv6mpcore_pmu_disable_event()
Dperf_event_v7.c889 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv7pmu_enable_event()
914 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv7pmu_enable_event()
934 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv7pmu_disable_event()
946 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv7pmu_disable_event()
1015 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv7pmu_start()
1018 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv7pmu_start()
1026 raw_spin_lock_irqsave(&events->pmu_lock, flags); in armv7pmu_stop()
1029 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in armv7pmu_stop()
1502 raw_spin_lock_irqsave(&events->pmu_lock, flags); in krait_pmu_disable_event()
1516 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in krait_pmu_disable_event()
[all …]
/Linux-v6.1/drivers/perf/
Darm_dsu_pmu.c116 raw_spinlock_t pmu_lock; member
265 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_read_counter()
270 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_read_counter()
291 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_write_counter()
296 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_write_counter()
344 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_set_event()
346 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_set_event()
489 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_enable()
493 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_enable()
502 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_disable()
[all …]
Darm-cci.c74 raw_spinlock_t pmu_lock; member
1033 raw_spin_lock(&events->pmu_lock); in pmu_handle_irq()
1063 raw_spin_unlock(&events->pmu_lock); in pmu_handle_irq()
1105 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_enable()
1107 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_enable()
1117 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_disable()
1119 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_disable()
1154 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_start()
1163 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_start()
1680 raw_spin_lock_init(&cci_pmu->hw_events.pmu_lock); in cci_pmu_probe()
Dqcom_l2_pmu.c147 spinlock_t pmu_lock; member
254 spin_lock_irqsave(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
262 spin_unlock_irqrestore(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
884 spin_lock_init(&cluster->pmu_lock); in l2_cache_pmu_probe_cluster()
Darm_pmu.c907 raw_spin_lock_init(&events->pmu_lock); in __armpmu_alloc()
/Linux-v6.1/drivers/macintosh/
Dvia-pmu.c163 static DEFINE_SPINLOCK(pmu_lock);
1168 spin_lock_irqsave(&pmu_lock, flags); in pmu_queue_request()
1178 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_queue_request()
1303 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1306 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1311 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1315 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1320 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1334 spin_lock_irqsave(&pmu_lock, flags); in pmu_resume()
1337 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_resume()
[all …]
/Linux-v6.1/drivers/hwtracing/ptt/
Dhisi_ptt.c738 spin_lock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
774 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
778 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
789 spin_lock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_stop()
798 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_stop()
860 spin_lock_init(&hisi_ptt->pmu_lock); in hisi_ptt_register_pmu()
Dhisi_ptt.h182 spinlock_t pmu_lock; member
/Linux-v6.1/include/linux/perf/
Darm_pmu.h64 raw_spinlock_t pmu_lock; member