Lines Matching refs:hwspinlock
87 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
197 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()
249 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
325 struct hwspinlock *hwlock; in of_hwspin_lock_get_id()
399 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()
401 struct hwspinlock *tmp; in hwspin_lock_register_single()
424 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single()
426 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single()
467 struct hwspinlock *hwlock; in hwspin_lock_register()
514 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister()
624 static int __hwspin_lock_request(struct hwspinlock *hwlock) in __hwspin_lock_request()
627 struct hwspinlock *tmp; in __hwspin_lock_request()
661 int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id()
685 struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
687 struct hwspinlock *hwlock; in hwspin_lock_request()
728 struct hwspinlock *hwspin_lock_request_specific(unsigned int id) in hwspin_lock_request_specific()
730 struct hwspinlock *hwlock; in hwspin_lock_request_specific()
776 int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
779 struct hwspinlock *tmp; in hwspin_lock_free()
822 struct hwspinlock **hwlock = res; in devm_hwspin_lock_match()
832 hwspin_lock_free(*(struct hwspinlock **)res); in devm_hwspin_lock_release()
848 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock) in devm_hwspin_lock_free()
874 struct hwspinlock *devm_hwspin_lock_request(struct device *dev) in devm_hwspin_lock_request()
876 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request()
909 struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev, in devm_hwspin_lock_request_specific()
912 struct hwspinlock **ptr, *hwlock; in devm_hwspin_lock_request_specific()