Searched refs:atomic_write_lock (Results 1 – 3 of 3) sorted by relevance
36 spinlock_t atomic_write_lock; member134 spin_lock_irqsave(&priv->atomic_write_lock, flags); in uniphier_serial_out()139 spin_unlock_irqrestore(&priv->atomic_write_lock, flags); in uniphier_serial_out()207 spin_lock_init(&priv->atomic_write_lock); in uniphier_uart_probe()
297 struct mutex atomic_write_lock; member578 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
946 mutex_unlock(&tty->atomic_write_lock); in tty_write_unlock()952 if (!mutex_trylock(&tty->atomic_write_lock)) { in tty_write_lock()955 if (mutex_lock_interruptible(&tty->atomic_write_lock)) in tty_write_lock()1072 mutex_lock(&tty->atomic_write_lock); in tty_write_message()3091 mutex_init(&tty->atomic_write_lock); in alloc_tty_struct()