Lines Matching defs:lock
23 spinlock_t *lock;
32 if (apmu->lock)
33 spin_lock_irqsave(apmu->lock, flags);
38 if (apmu->lock)
39 spin_unlock_irqrestore(apmu->lock, flags);
50 if (apmu->lock)
51 spin_lock_irqsave(apmu->lock, flags);
56 if (apmu->lock)
57 spin_unlock_irqrestore(apmu->lock, flags);
66 void __iomem *base, u32 enable_mask, spinlock_t *lock)
84 apmu->lock = lock;