Lines Matching refs:sc_console_unit
105 static int sc_console_unit = -1; variable
567 if (sc_console_unit == unit) { in sc_attach_unit()
638 if (sc_console_unit == unit) { in sc_attach_unit()
681 if (sc_console_unit < 0) /* sc_console == NULL */ in scmeminit()
726 sc = sc_get_softc(unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0); in sctty_open()
767 if ((scp == scp->sc->cur_scp) && (scp->sc->unit == sc_console_unit)) in sctty_close()
1181 if ((scp == sc->cur_scp) && (sc->unit == sc_console_unit)) in sctty_ioctl()
1199 if ((scp == sc->cur_scp) && (sc->unit == sc_console_unit)) in sctty_ioctl()
1731 sc_console_unit = unit; in sc_cninit()
1744 if (sc_console_unit < 0) in sc_cnterm()
1761 scterm(sc_console_unit, SC_KERNEL_CONSOLE); in sc_cnterm()
1762 sc_console_unit = -1; in sc_cnterm()
2843 if (sc->unit == sc_console_unit) in sc_switch_scr()
2865 if (sc->unit == sc_console_unit) in do_switch_scr()
2907 if (scp->sc->unit == sc_console_unit) in signal_vt_acq()