Lines Matching refs:tp
279 struct tty *tp;
281 tp = tty_alloc(&gxemul_cons_ttydevsw, NULL);
282 tty_init_console(tp, 0);
283 tty_makedev(tp, NULL, "%s", "ttyu0");
286 gxemul_cons_timeout, tp);
293 gxemul_cons_outwakeup(struct tty *tp)
303 len = ttydisc_getc(tp, &ch, sizeof(ch));
315 struct tty *tp;
318 tp = v;
319 tty_lock(tp);
327 ttydisc_rint(tp, c, 0);
331 ttydisc_rint_done(tp);
332 tty_unlock(tp);
334 gxemul_cons_timeout, tp);