Lines Matching defs:hwlock
91 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
206 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
265 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
342 struct hwspinlock *hwlock; in of_hwspin_lock_get_id() local
421 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()
448 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single() local
489 struct hwspinlock *hwlock; in hwspin_lock_register() local
536 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister() local
646 static int __hwspin_lock_request(struct hwspinlock *hwlock) in __hwspin_lock_request()
685 int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
711 struct hwspinlock *hwlock; in hwspin_lock_request() local
754 struct hwspinlock *hwlock; in hwspin_lock_request_specific() local
800 int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
844 struct hwspinlock **hwlock = res; in devm_hwspin_lock_match() local
870 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock) in devm_hwspin_lock_free()
898 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request() local
934 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request_specific() local