• Home
  • Raw
  • Download

Lines Matching refs:ldisc

84 void tty_unregister_ldisc(struct tty_ldisc_ops *ldisc)  in tty_unregister_ldisc()  argument
89 tty_ldiscs[ldisc->num] = NULL; in tty_unregister_ldisc()
245 ld = tty->ldisc; in tty_ldisc_ref_wait()
265 ld = tty->ldisc; in tty_ldisc_ref()
476 tty->ldisc = disc; in tty_ldisc_failto()
534 if (!tty->ldisc) { in tty_set_ldisc()
540 if (tty->ldisc->ops->num == disc) in tty_set_ldisc()
549 old_ldisc = tty->ldisc; in tty_set_ldisc()
555 tty->ldisc = new_ldisc; in tty_set_ldisc()
565 if (tty->ldisc->ops->num != old_ldisc->ops->num && tty->ops->set_ldisc) { in tty_set_ldisc()
603 if (!tty->ldisc) in tty_ldisc_kill()
608 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_kill()
609 tty_ldisc_put(tty->ldisc); in tty_ldisc_kill()
611 tty->ldisc = NULL; in tty_ldisc_kill()
654 if (tty->ldisc) { in tty_ldisc_reinit()
655 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_reinit()
656 tty_ldisc_put(tty->ldisc); in tty_ldisc_reinit()
660 tty->ldisc = ld; in tty_ldisc_reinit()
662 retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_reinit()
664 tty_ldisc_put(tty->ldisc); in tty_ldisc_reinit()
665 tty->ldisc = NULL; in tty_ldisc_reinit()
689 tty_ldisc_debug(tty, "%p: hangup\n", tty->ldisc); in tty_ldisc_hangup()
718 if (tty->ldisc) { in tty_ldisc_hangup()
740 int retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_setup()
750 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()
752 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_setup()
802 tty->ldisc = ld; in tty_ldisc_init()
816 if (tty->ldisc) in tty_ldisc_deinit()
817 tty_ldisc_put(tty->ldisc); in tty_ldisc_deinit()
818 tty->ldisc = NULL; in tty_ldisc_deinit()