Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/kernel/
H A 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()
590 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale2pmu_enable_event()
641 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale2pmu_disable_event()
669 raw_spin_lock_irqsave(&events->pmu_lock, flags); in xscale2pmu_start()
[all …]
H A 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()
H A 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()
1502 raw_spin_lock_irqsave(&events->pmu_lock, flags); in krait_pmu_disable_event()
1531 raw_spin_lock_irqsave(&events->pmu_lock, flags); in krait_pmu_enable_event()
1835 raw_spin_lock_irqsave(&events->pmu_lock, flags); in scorpion_pmu_disable_event()
[all …]
/openbmc/linux/drivers/perf/
H A 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 …]
H A Darm-cci.c71 raw_spinlock_t pmu_lock; member
1030 raw_spin_lock(&events->pmu_lock); in pmu_handle_irq()
1060 raw_spin_unlock(&events->pmu_lock); in pmu_handle_irq()
1102 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_enable()
1104 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_enable()
1114 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_disable()
1116 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_disable()
1151 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_start()
1160 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_start()
1677 raw_spin_lock_init(&cci_pmu->hw_events.pmu_lock); in cci_pmu_probe()
H A 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()
883 spin_lock_init(&cluster->pmu_lock); in l2_cache_pmu_probe_cluster()
H A Darm_pmu.c896 raw_spin_lock_init(&events->pmu_lock); in armpmu_alloc()
/openbmc/linux/drivers/macintosh/
H A Dvia-pmu.c163 static DEFINE_SPINLOCK(pmu_lock);
1165 spin_lock_irqsave(&pmu_lock, flags); in pmu_queue_request()
1175 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_queue_request()
1300 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1312 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1331 spin_lock_irqsave(&pmu_lock, flags); in pmu_resume()
1341 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_resume()
1582 spin_lock_irqsave(&pmu_lock, flags); in via_pmu_interrupt()
1669 spin_lock_irqsave(&pmu_lock, flags); in via_pmu_interrupt()
1684 spin_lock_irqsave(&pmu_lock, flags); in pmu_unlock()
[all …]
/openbmc/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.h224 spinlock_t pmu_lock; member
H A Dhisi_ptt.c1092 spin_lock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
1127 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
1131 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_start()
1142 spin_lock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_stop()
1151 spin_unlock(&hisi_ptt->pmu_lock); in hisi_ptt_pmu_stop()
1217 spin_lock_init(&hisi_ptt->pmu_lock); in hisi_ptt_register_pmu()
/openbmc/linux/include/linux/perf/
H A Darm_pmu.h66 raw_spinlock_t pmu_lock; member