Searched refs:atomic_write_lock (Results 1 – 4 of 4) 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()195 spin_lock_init(&priv->atomic_write_lock); in uniphier_uart_probe()
96 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
942 mutex_unlock(&tty->atomic_write_lock); in tty_write_unlock()948 if (!mutex_trylock(&tty->atomic_write_lock)) { in tty_write_lock()951 if (mutex_lock_interruptible(&tty->atomic_write_lock)) in tty_write_lock()1061 mutex_lock(&tty->atomic_write_lock); in tty_write_message()3135 mutex_init(&tty->atomic_write_lock); in alloc_tty_struct()
199 struct mutex atomic_write_lock; member