Lines Matching refs:pmu_lock
116 raw_spinlock_t pmu_lock; member
247 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_read_counter()
252 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_read_counter()
273 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_write_counter()
278 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_write_counter()
326 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_set_event()
328 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_set_event()
471 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_enable()
475 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_enable()
484 raw_spin_lock_irqsave(&dsu_pmu->pmu_lock, flags); in dsu_pmu_disable()
488 raw_spin_unlock_irqrestore(&dsu_pmu->pmu_lock, flags); in dsu_pmu_disable()
578 raw_spin_lock_init(&dsu_pmu->pmu_lock); in dsu_pmu_alloc()