Searched refs:new_ldisc (Results 1 – 2 of 2) sorted by relevance
58 int tty_register_ldisc(struct tty_ldisc_ops *new_ldisc) in tty_register_ldisc() argument63 if (new_ldisc->num < N_TTY || new_ldisc->num >= NR_LDISCS) in tty_register_ldisc()67 tty_ldiscs[new_ldisc->num] = new_ldisc; in tty_register_ldisc()523 struct tty_ldisc *old_ldisc, *new_ldisc; in tty_set_ldisc() local525 new_ldisc = tty_ldisc_get(tty, disc); in tty_set_ldisc()526 if (IS_ERR(new_ldisc)) in tty_set_ldisc()527 return PTR_ERR(new_ldisc); in tty_set_ldisc()555 tty->ldisc = new_ldisc; in tty_set_ldisc()558 retval = tty_ldisc_open(tty, new_ldisc); in tty_set_ldisc()561 tty_ldisc_put(new_ldisc); in tty_set_ldisc()[all …]
266 int tty_register_ldisc(struct tty_ldisc_ops *new_ldisc);