Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/tty/serial/8250/
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()
207 spin_lock_init(&priv->atomic_write_lock); in uniphier_uart_probe()
/kernel/linux/linux-5.10/include/linux/
Dtty.h297 struct mutex atomic_write_lock; member
578 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock))
/kernel/linux/linux-5.10/drivers/tty/
Dtty_io.c946 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()