Searched refs:HWLOCK_IN_ATOMIC (Results 1 – 2 of 2) sorted by relevance
20 #define HWLOCK_IN_ATOMIC 0x04 /* Called while in atomic context */ macro240 return __hwspin_trylock(hwlock, HWLOCK_IN_ATOMIC, NULL); in hwspin_trylock_in_atomic()352 return __hwspin_lock_timeout(hwlock, to, HWLOCK_IN_ATOMIC, NULL); in hwspin_lock_timeout_in_atomic()441 __hwspin_unlock(hwlock, HWLOCK_IN_ATOMIC, NULL); in hwspin_unlock_in_atomic()
119 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()144 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()224 if (mode == HWLOCK_IN_ATOMIC) { in __hwspin_lock_timeout()295 case HWLOCK_IN_ATOMIC: in __hwspin_unlock()