Searched refs:KRHINO_SPINLOCK_VAL_SHIFT (Results 1 – 1 of 1) sorted by relevance
21 #define KRHINO_SPINLOCK_VAL_SHIFT 0 macro39 res = (cpu_cur_get() << KRHINO_SPINLOCK_VAL_SHIFT) | KRHINO_SPINLOCK_MAGIC_VAL; in k_cpu_spin_lock()44 KRHINO_SPINLOCK_VAL_SHIFT) == cpu_cur_get())) { in k_cpu_spin_lock()54 (cpu_cur_get() << KRHINO_SPINLOCK_VAL_SHIFT); in k_cpu_spin_lock()103 (cpu_cur_get() << KRHINO_SPINLOCK_VAL_SHIFT) | KRHINO_SPINLOCK_MAGIC_VAL, in k_cpu_spin_unlock()106 if ( ((res & KRHINO_SPINLOCK_VAL_MASK) >> KRHINO_SPINLOCK_VAL_SHIFT) == cpu_cur_get() ) { in k_cpu_spin_unlock()113 | (cpu_cur_get() << KRHINO_SPINLOCK_VAL_SHIFT); in k_cpu_spin_unlock()120 ((res & KRHINO_SPINLOCK_VAL_MASK) >> KRHINO_SPINLOCK_VAL_SHIFT),\ in k_cpu_spin_unlock()
Completed in 2 milliseconds