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);
95 struct tty *tp;
166 struct tty *tp = km_tty[minor(dev)];
180 struct tty *tp = km_tty[minor(dev)];
193 struct tty *tp = km_tty[minor(dev)];
206 struct tty *tp = km_tty[minor(dev)];
263 * Locks: Assumes tp in the calling tty driver code is locked on
296 kmstart(struct tty *tp)
313 * intervals until the output queue for the tty is empty, at which point
322 struct tty *tp = (struct tty *)arg;
341 kmoutput(struct tty *tp)
366 * XXX This is likely not necessary, as the tty output queue is not
384 * this routine to input a character from the serial driver into the tty
397 struct tty *tp = km_tty[0]; /* XXX */