Lines Matching refs:tty
36 #include <sys/tty.h>
62 struct tty *km_tty[1] = { 0 };
75 static int kmoutput(struct tty *tp);
76 static void kmstart(struct tty *tp);
93 struct tty *tp;
163 struct tty *tp = km_tty[minor(dev)];
176 struct tty *tp = km_tty[minor(dev)];
188 struct tty *tp = km_tty[minor(dev)];
200 struct tty *tp = km_tty[minor(dev)];
264 * Locks: Assumes tp in the calling tty driver code is locked on
296 static void kmstart(struct tty *tp)
313 * intervals until the output queue for the tty is empty, at which point
321 struct tty *tp = (struct tty *) arg;
339 static int kmoutput(struct tty *tp)
369 * XXX This is likely not necessary, as the tty output queue is not
388 * this routine to input a character from the serial driver into the tty
400 struct tty *tp = km_tty[0]; /* XXX */