Lines Matching refs:tp
61 static struct tty *tp = NULL;
88 tp = tty_alloc(&mambo_ttydevsw, NULL);
89 tty_init_console(tp, 0);
90 tty_makedev(tp, NULL, "%s", "mambocons");
102 mambotty_outwakeup(struct tty *tp)
108 len = ttydisc_getc(tp, buf, sizeof buf);
120 tty_lock(tp);
122 ttydisc_rint(tp, c, 0);
123 ttydisc_rint_done(tp);
124 tty_unlock(tp);