Lines Matching refs:tp
88 struct tty *tp;
92 tp = tty_alloc(&ofw_ttydevsw, NULL);
93 tty_makedev(tp, NULL, "%s", "ofwcons");
104 tty_makealias(tp, "%s", output);
105 callout_init_mtx(&ofw_timer, tty_getlock(tp), 0);
115 ofwtty_open(struct tty *tp)
121 callout_reset(&ofw_timer, polltime, ofw_timeout, tp);
127 ofwtty_close(struct tty *tp)
134 ofwtty_outwakeup(struct tty *tp)
140 len = ttydisc_getc(tp, buf, sizeof buf);
150 struct tty *tp;
153 tp = (struct tty *)v;
155 tty_assert_locked(tp);
157 ttydisc_rint(tp, c, 0);
158 ttydisc_rint_done(tp);