Searched refs:hwlock_to_id (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 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()
|
H A D | hwspinlock_internal.h | 62 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id() function
|
H A D | sprd_hwspinlock.c | 52 lock_id = hwlock_to_id(lock); in sprd_hwspinlock_trylock()
|
/kernel/linux/linux-6.6/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 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()
|
H A D | hwspinlock_internal.h | 62 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id() function
|
H A D | sprd_hwspinlock.c | 50 lock_id = hwlock_to_id(lock); in sprd_hwspinlock_trylock()
|
Completed in 5 milliseconds