Home
last modified time | relevance | path

Searched refs:new_ldisc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/tty/
Dtty_ldisc.c58 int tty_register_ldisc(struct tty_ldisc_ops *new_ldisc) in tty_register_ldisc() argument
63 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() local
525 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 …]
/linux-6.1.9/include/linux/
Dtty_ldisc.h266 int tty_register_ldisc(struct tty_ldisc_ops *new_ldisc);