Lines Matching refs:hwspinlock

92 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags)  in __hwspin_trylock()
209 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
268 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
322 int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id) in hwspin_lock_bust()
373 struct hwspinlock *hwlock; in of_hwspin_lock_get_id()
453 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()
455 struct hwspinlock *tmp; in hwspin_lock_register_single()
478 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single()
480 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single()
521 struct hwspinlock *hwlock; in hwspin_lock_register()
568 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister()
679 static int __hwspin_lock_request(struct hwspinlock *hwlock) in __hwspin_lock_request()
682 struct hwspinlock *tmp; in __hwspin_lock_request()
718 int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
742 struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
744 struct hwspinlock *hwlock; in hwspin_lock_request()
785 struct hwspinlock *hwspin_lock_request_specific(unsigned int id) in hwspin_lock_request_specific()
787 struct hwspinlock *hwlock; in hwspin_lock_request_specific()
833 int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
836 struct hwspinlock *tmp; in hwspin_lock_free()
877 struct hwspinlock **hwlock = res; in devm_hwspin_lock_match()
887 hwspin_lock_free(*(struct hwspinlock **)res); in devm_hwspin_lock_release()
903 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock) in devm_hwspin_lock_free()
929 struct hwspinlock *devm_hwspin_lock_request(struct device *dev) in devm_hwspin_lock_request()
931 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request()
964 struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev, in devm_hwspin_lock_request_specific()
967 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request_specific()