Searched refs:hwlock_to_id (Results 1 – 3 of 3) sorted by relevance
698 tmp = radix_tree_tag_clear(&hwspinlock_tree, hwlock_to_id(hwlock), in __hwspin_lock_request()720 return hwlock_to_id(hwlock); in hwspin_lock_get_id()795 WARN_ON(hwlock_to_id(hwlock) != id); in hwspin_lock_request_specific()843 ret = radix_tree_tag_get(&hwspinlock_tree, hwlock_to_id(hwlock), in hwspin_lock_free()856 tmp = radix_tree_tag_set(&hwspinlock_tree, hwlock_to_id(hwlock), in hwspin_lock_free()
65 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id() function
50 lock_id = hwlock_to_id(lock); in sprd_hwspinlock_trylock()