Searched refs:SPINLOCK_NOTTAKEN (Results 1 – 2 of 2) sorted by relevance
35 #define SPINLOCK_NOTTAKEN (0) /* free */ macro43 return (SPINLOCK_NOTTAKEN == readl(lock_addr)); in omap_hwspinlock_trylock()51 writel(SPINLOCK_NOTTAKEN, lock_addr); in omap_hwspinlock_unlock()
27 #define SPINLOCK_NOTTAKEN 0 macro67 return (readl(lock_addr) == SPINLOCK_NOTTAKEN); in sun6i_hwspinlock_trylock()74 writel(SPINLOCK_NOTTAKEN, lock_addr); in sun6i_hwspinlock_unlock()