Lines Matching refs:sn_sal_lock
105 static spinlock_t sn_sal_lock = SPIN_LOCK_UNLOCKED; variable
336 spin_unlock_irqrestore(&sn_sal_lock, *flags); in sn_receive_chars()
338 spin_lock_irqsave(&sn_sal_lock, *flags); in sn_receive_chars()
519 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_interrupt()
524 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_interrupt()
571 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_tasklet_action()
580 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_tasklet_action()
594 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_timer_poll()
597 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_timer_poll()
625 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_open()
628 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_open()
648 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_close()
650 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_close()
683 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_write()
691 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_write()
701 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_write()
716 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_write()
719 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_write()
723 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_write()
734 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_put_char()
741 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_put_char()
750 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_flush_chars()
754 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_flush_chars()
764 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_write_room()
766 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_write_room()
777 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_chars_in_buffer()
780 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_chars_in_buffer()
791 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_flush_buffer()
793 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_flush_buffer()
895 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_switch_to_asynch()
924 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_switch_to_asynch()
937 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_switch_to_interrupts()
959 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_switch_to_interrupts()
1028 if (spin_is_locked(&sn_sal_lock)) { in sn_sal_console_write()
1034 spin_lock_irqsave(&sn_sal_lock, flags); in sn_sal_console_write()
1036 spin_unlock_irqrestore(&sn_sal_lock, flags); in sn_sal_console_write()