Lines Matching defs:word
147 * These spinlocks use a single bit (bit 31) of a 32 bit word for locking.
148 * The rest of the bits in the word are left undisturbed. This enables more
156 * word used for the lock.
159 * @word: word to lock bit 31 of
161 static inline void cvmx_spinlock_bit_lock(uint32_t *word)
177 [val] "+m"(*word), [tmp] "=&r"(tmp), [sav] "=&r"(sav)
185 * word used for the lock.
188 * @word: word to lock bit 31 of
193 static inline unsigned int cvmx_spinlock_bit_trylock(uint32_t *word)
210 [val] "+m"(*word), [tmp] "=&r"(tmp)
219 * Unconditionally clears bit 31 of the lock word. Note that this is
221 * of the bits in the word are protected by the lock.
223 * @word: word to unlock bit 31 in
225 static inline void cvmx_spinlock_bit_unlock(uint32_t *word)
228 *word &= ~(1UL << 31);