Lines Matching refs:word
183 * These spinlocks use a single bit (bit 31) of a 32 bit word for locking.
184 * The rest of the bits in the word are left undisturbed. This enables more
192 * word used for the lock.
195 * @param word word to lock bit 31 of
197 static inline void cvmx_spinlock_bit_lock(uint32_t *word)
214 : [val] "+m" (*word), [tmp] "=&r" (tmp), [sav] "=&r" (sav)
223 * word used for the lock.
226 * @param word word to lock bit 31 of
231 static inline unsigned int cvmx_spinlock_bit_trylock(uint32_t *word)
248 : [val] "+m" (*word), [tmp] "=&r" (tmp)
257 * Unconditionally clears bit 31 of the lock word. Note that this is
259 * of the bits in the word are protected by the lock.
261 * @param word word to unlock bit 31 in
263 static inline void cvmx_spinlock_bit_unlock(uint32_t *word)
266 *word &= ~(1UL << 31) ;