Lines Matching refs:sn_sal_tty
97 static struct tty_struct *sn_sal_tty; variable
353 if (sn_sal_tty) { in sn_receive_chars()
354 *sn_sal_tty->flip.char_buf_ptr = ch; in sn_receive_chars()
355 sn_sal_tty->flip.char_buf_ptr++; in sn_receive_chars()
356 sn_sal_tty->flip.count++; in sn_receive_chars()
357 if (sn_sal_tty->flip.count == TTY_FLIPBUF_SIZE) in sn_receive_chars()
363 if (sn_sal_tty) in sn_receive_chars()
364 tty_flip_buffer_push((struct tty_struct *)sn_sal_tty); in sn_receive_chars()
418 (sn_sal_tty && (sn_sal_tty->stopped || sn_sal_tty->hw_stopped))) { in sn_poll_transmit_chars()
449 if (sn_sal_tty) in sn_poll_transmit_chars()
467 (sn_sal_tty && (sn_sal_tty->stopped || sn_sal_tty->hw_stopped))) { in sn_intr_transmit_chars()
504 if (sn_sal_tty) in sn_intr_transmit_chars()
557 "SAL console driver", &sn_sal_tty); in sn_sal_connect_interrupt()
570 if (sn_sal_tty) { in sn_sal_tasklet_action()
572 if (sn_sal_tty) { in sn_sal_tasklet_action()
574 if ((sn_sal_tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) in sn_sal_tasklet_action()
575 && sn_sal_tty->ldisc.write_wakeup) in sn_sal_tasklet_action()
576 (sn_sal_tty->ldisc.write_wakeup)((struct tty_struct *)sn_sal_tty); in sn_sal_tasklet_action()
577 wake_up_interruptible((wait_queue_head_t *)&sn_sal_tty->write_wait); in sn_sal_tasklet_action()
623 sn_sal_tty, tty, filp); in sn_sal_open()
626 if (!sn_sal_tty) in sn_sal_open()
627 sn_sal_tty = tty; in sn_sal_open()
649 sn_sal_tty = NULL; in sn_sal_close()