Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/kernel/
Dperf_event_xscale.c294 raw_spin_lock_irqsave(&pmu_lock, flags); in xscale1pmu_enable_event()
299 raw_spin_unlock_irqrestore(&pmu_lock, flags); in xscale1pmu_enable_event()
325 raw_spin_lock_irqsave(&pmu_lock, flags); in xscale1pmu_disable_event()
330 raw_spin_unlock_irqrestore(&pmu_lock, flags); in xscale1pmu_disable_event()
358 raw_spin_lock_irqsave(&pmu_lock, flags); in xscale1pmu_start()
362 raw_spin_unlock_irqrestore(&pmu_lock, flags); in xscale1pmu_start()
370 raw_spin_lock_irqsave(&pmu_lock, flags); in xscale1pmu_stop()
374 raw_spin_unlock_irqrestore(&pmu_lock, flags); in xscale1pmu_stop()
638 raw_spin_lock_irqsave(&pmu_lock, flags); in xscale2pmu_enable_event()
641 raw_spin_unlock_irqrestore(&pmu_lock, flags); in xscale2pmu_enable_event()
[all …]
Dpmu.c24 static volatile long pmu_lock; variable
66 if (test_and_set_bit_lock(device, &pmu_lock)) { in reserve_pmu()
69 clear_bit_unlock(device, &pmu_lock); in reserve_pmu()
84 clear_bit_unlock(pdev->id, &pmu_lock); in release_pmu()
Dperf_event_v6.c429 raw_spin_lock_irqsave(&pmu_lock, flags); in armv6pmu_enable_event()
434 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv6pmu_enable_event()
503 raw_spin_lock_irqsave(&pmu_lock, flags); in armv6pmu_start()
507 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv6pmu_start()
515 raw_spin_lock_irqsave(&pmu_lock, flags); in armv6pmu_stop()
519 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv6pmu_stop()
573 raw_spin_lock_irqsave(&pmu_lock, flags); in armv6pmu_disable_event()
578 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv6pmu_disable_event()
602 raw_spin_lock_irqsave(&pmu_lock, flags); in armv6mpcore_pmu_disable_event()
607 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv6mpcore_pmu_disable_event()
Dperf_event_v7.c694 raw_spin_lock_irqsave(&pmu_lock, flags); in armv7pmu_enable_event()
718 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv7pmu_enable_event()
728 raw_spin_lock_irqsave(&pmu_lock, flags); in armv7pmu_disable_event()
740 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv7pmu_disable_event()
810 raw_spin_lock_irqsave(&pmu_lock, flags); in armv7pmu_start()
813 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv7pmu_start()
820 raw_spin_lock_irqsave(&pmu_lock, flags); in armv7pmu_stop()
823 raw_spin_unlock_irqrestore(&pmu_lock, flags); in armv7pmu_stop()
Dperf_event.c35 static DEFINE_RAW_SPINLOCK(pmu_lock);
/linux-2.6.39/drivers/macintosh/
Dvia-pmu.c150 static spinlock_t pmu_lock; variable
292 spin_lock_init(&pmu_lock); in find_via_pmu()
1147 spin_lock_irqsave(&pmu_lock, flags); in pmu_queue_request()
1157 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_queue_request()
1286 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1289 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1294 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1298 spin_lock_irqsave(&pmu_lock, flags); in pmu_suspend()
1303 spin_unlock_irqrestore(&pmu_lock, flags); in pmu_suspend()
1317 spin_lock_irqsave(&pmu_lock, flags); in pmu_resume()
[all …]