Lines Matching refs:hwspinlock
89 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
178 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
230 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
298 struct hwspinlock *hwlock; in of_hwspin_lock_get_id()
343 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()
345 struct hwspinlock *tmp; in hwspin_lock_register_single()
368 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single()
370 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single()
411 struct hwspinlock *hwlock; in hwspin_lock_register()
458 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister()
486 static int __hwspin_lock_request(struct hwspinlock *hwlock) in __hwspin_lock_request()
489 struct hwspinlock *tmp; in __hwspin_lock_request()
523 int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
547 struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
549 struct hwspinlock *hwlock; in hwspin_lock_request()
590 struct hwspinlock *hwspin_lock_request_specific(unsigned int id) in hwspin_lock_request_specific()
592 struct hwspinlock *hwlock; in hwspin_lock_request_specific()
638 int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
641 struct hwspinlock *tmp; in hwspin_lock_free()