Home
last modified time | relevance | path

Searched refs:SPINLOCK_NOTTAKEN (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/hwspinlock/
H A Domap_hwspinlock.c35 #define SPINLOCK_NOTTAKEN (0) /* free */ macro
43 return (SPINLOCK_NOTTAKEN == readl(lock_addr)); in omap_hwspinlock_trylock()
51 writel(SPINLOCK_NOTTAKEN, lock_addr); in omap_hwspinlock_unlock()
H A Dsun6i_hwspinlock.c27 #define SPINLOCK_NOTTAKEN 0 macro
67 return (readl(lock_addr) == SPINLOCK_NOTTAKEN); in sun6i_hwspinlock_trylock()
74 writel(SPINLOCK_NOTTAKEN, lock_addr); in sun6i_hwspinlock_unlock()