Lines Matching refs:pmu_lock
116 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()
506 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_disable()
596 raw_spin_lock_init(&dsu_pmu->pmu_lock); in dsu_pmu_alloc()