Lines Matching defs:hwlock
107 static inline int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
113 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
120 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
126 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
135 static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
147 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock) in devm_hwspin_lock_free()
183 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave()
202 static inline int hwspin_trylock_irq(struct hwspinlock *hwlock) in hwspin_trylock_irq()
221 static inline int hwspin_trylock_raw(struct hwspinlock *hwlock) in hwspin_trylock_raw()
238 static inline int hwspin_trylock_in_atomic(struct hwspinlock *hwlock) in hwspin_trylock_in_atomic()
258 static inline int hwspin_trylock(struct hwspinlock *hwlock) in hwspin_trylock()
281 static inline int hwspin_lock_timeout_irqsave(struct hwspinlock *hwlock, in hwspin_lock_timeout_irqsave()
305 int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout_irq()
328 int hwspin_lock_timeout_raw(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout_raw()
350 int hwspin_lock_timeout_in_atomic(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout_in_atomic()
375 int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout()
392 static inline void hwspin_unlock_irqrestore(struct hwspinlock *hwlock, in hwspin_unlock_irqrestore()
409 static inline void hwspin_unlock_irq(struct hwspinlock *hwlock) in hwspin_unlock_irq()
424 static inline void hwspin_unlock_raw(struct hwspinlock *hwlock) in hwspin_unlock_raw()
439 static inline void hwspin_unlock_in_atomic(struct hwspinlock *hwlock) in hwspin_unlock_in_atomic()
455 static inline void hwspin_unlock(struct hwspinlock *hwlock) in hwspin_unlock()