Lines Matching refs:lock_flags
150 unsigned long lock_flags; in jsm_tty_send_xchar() local
155 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_send_xchar()
162 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_send_xchar()
175 unsigned long lock_flags; in jsm_tty_break() local
179 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_break()
185 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_break()
190 unsigned long lock_flags; in jsm_tty_open() local
244 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_open()
264 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_open()
306 unsigned long lock_flags; in jsm_tty_set_termios() local
310 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_set_termios()
320 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_set_termios()
521 unsigned long lock_flags; in jsm_input() local
535 spin_lock_irqsave(&ch->ch_lock, lock_flags); in jsm_input()
549 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in jsm_input()
569 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in jsm_input()
577 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in jsm_input()
638 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in jsm_input()