Lines Matching refs:tty
12 #include <linux/tty.h>
16 static void pps_tty_dcd_change(struct tty_struct *tty, bool active)
23 pps = pps_lookup_dev(tty);
39 static int (*alias_n_tty_open)(struct tty_struct *tty);
41 static int pps_tty_open(struct tty_struct *tty)
44 struct tty_driver *drv = tty->driver;
45 int index = tty->index + drv->name_base;
63 pps->lookup_cookie = tty;
66 ret = alias_n_tty_open(tty);
68 pr_err("cannot open tty ldisc \"%s\"\n", info.path);
81 static void (*alias_n_tty_close)(struct tty_struct *tty);
83 static void pps_tty_close(struct tty_struct *tty)
85 struct pps_device *pps = pps_lookup_dev(tty);
87 alias_n_tty_close(tty);