Lines Matching defs:tty
12 #include <linux/tty.h>
18 static void pps_tty_dcd_change(struct tty_struct *tty, unsigned int status)
25 pps = pps_lookup_dev(tty);
41 static int (*alias_n_tty_open)(struct tty_struct *tty);
43 static int pps_tty_open(struct tty_struct *tty)
46 struct tty_driver *drv = tty->driver;
47 int index = tty->index + drv->name_base;
65 pps->lookup_cookie = tty;
68 ret = alias_n_tty_open(tty);
70 pr_err("cannot open tty ldisc \"%s\"\n", info.path);
83 static void (*alias_n_tty_close)(struct tty_struct *tty);
85 static void pps_tty_close(struct tty_struct *tty)
87 struct pps_device *pps = pps_lookup_dev(tty);
89 alias_n_tty_close(tty);