Lines Matching refs:dc
151 dcons_check_break(struct dcons_softc *dc, int c)
158 if ((dc->flags & DC_GDB) != 0 && gdb_cur == &dcons_gdb_dbgport)
159 kdb_alt_break_gdb(c, &dc->brk_state);
162 kdb_alt_break(c, &dc->brk_state);
167 #define dcons_check_break(dc, c) (c)
171 dcons_os_checkc_nopoll(struct dcons_softc *dc)
178 c = dcons_check_break(dc, dcons_checkc(dc));
187 dcons_os_checkc(struct dcons_softc *dc)
190 return (dcons_os_checkc_nopoll(dc));
194 dcons_os_putc(struct dcons_softc *dc, int c)
199 dcons_putc(dc, c);
216 struct dcons_softc *dc;
219 dc = tty_softc(tp);
222 dcons_os_putc(dc, ch);
229 struct dcons_softc *dc;
233 dc = &sc[i];
234 tp = dc->tty;
237 while ((c = dcons_os_checkc_nopoll(dc)) != -1) {
287 struct dcons_softc *dc = (struct dcons_softc *)cp->cn_arg;
288 return (dcons_os_checkc(dc));
294 struct dcons_softc *dc = (struct dcons_softc *)cp->cn_arg;
295 dcons_os_putc(dc, c);
378 struct dcons_softc *dc;
381 dc = &sc[port];
382 tp = tty_alloc(&dcons_ttydevsw, dc);
383 dc->flags = flags;
384 dc->tty = tp;
407 struct dcons_softc *dc;
409 dc = &sc[port];
410 tp = dc->tty;
468 dcons_os_getc(struct dcons_softc *dc)
472 while ((c = dcons_os_checkc(dc)) == -1);
500 struct dcons_softc *dc = &sc[DCONS_GDB];
501 dcons_os_putc(dc, c);
507 struct dcons_softc *dc = &sc[DCONS_GDB];
508 return (dcons_os_getc(dc));