Lines Matching refs:hwspinlock
88 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
177 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
229 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
260 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()
262 struct hwspinlock *tmp; in hwspin_lock_register_single()
285 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single()
287 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single()
328 struct hwspinlock *hwlock; in hwspin_lock_register()
375 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister()
403 static int __hwspin_lock_request(struct hwspinlock *hwlock) in __hwspin_lock_request()
406 struct hwspinlock *tmp; in __hwspin_lock_request()
440 int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
464 struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
466 struct hwspinlock *hwlock; in hwspin_lock_request()
507 struct hwspinlock *hwspin_lock_request_specific(unsigned int id) in hwspin_lock_request_specific()
509 struct hwspinlock *hwlock; in hwspin_lock_request_specific()
555 int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
558 struct hwspinlock *tmp; in hwspin_lock_free()