Searched refs:hwlock_to_id (Results 1 – 3 of 3) sorted by relevance
670 tmp = radix_tree_tag_clear(&hwspinlock_tree, hwlock_to_id(hwlock), in __hwspin_lock_request()692 return hwlock_to_id(hwlock); in hwspin_lock_get_id()767 WARN_ON(hwlock_to_id(hwlock) != id); in hwspin_lock_request_specific()815 ret = radix_tree_tag_get(&hwspinlock_tree, hwlock_to_id(hwlock), in hwspin_lock_free()828 tmp = radix_tree_tag_set(&hwspinlock_tree, hwlock_to_id(hwlock), in hwspin_lock_free()
62 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()