Lines Matching refs:hwspinlock

29 struct hwspinlock;
66 struct hwspinlock *hwspin_lock_request(void);
67 struct hwspinlock *hwspin_lock_request_specific(unsigned int id);
68 int hwspin_lock_free(struct hwspinlock *hwlock);
69 int hwspin_lock_get_id(struct hwspinlock *hwlock);
70 int __hwspin_lock_timeout(struct hwspinlock *, unsigned int, int,
72 int __hwspin_trylock(struct hwspinlock *, int, unsigned long *);
73 void __hwspin_unlock(struct hwspinlock *, int, unsigned long *);
90 static inline struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
95 static inline struct hwspinlock *hwspin_lock_request_specific(unsigned int id) in hwspin_lock_request_specific()
100 static inline int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
106 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
113 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
119 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
123 static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
147 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave()
166 static inline int hwspin_trylock_irq(struct hwspinlock *hwlock) in hwspin_trylock_irq()
186 static inline int hwspin_trylock(struct hwspinlock *hwlock) in hwspin_trylock()
209 static inline int hwspin_lock_timeout_irqsave(struct hwspinlock *hwlock, in hwspin_lock_timeout_irqsave()
233 int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout_irq()
258 int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout()
275 static inline void hwspin_unlock_irqrestore(struct hwspinlock *hwlock, in hwspin_unlock_irqrestore()
292 static inline void hwspin_unlock_irq(struct hwspinlock *hwlock) in hwspin_unlock_irq()
308 static inline void hwspin_unlock(struct hwspinlock *hwlock) in hwspin_unlock()