Home
last modified time | relevance | path

Searched refs:atomic_write_lock (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/tty/serial/8250/
H A D8250_uniphier.c36 spinlock_t atomic_write_lock; member
134 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()
/linux/drivers/tty/
H A Dtty.h96 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
H A Dtty_io.c942 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()
/linux/include/linux/
H A Dtty.h199 struct mutex atomic_write_lock; member