Lines Matching refs:sc_console_unit
111 static int sc_console_unit = -1; variable
333 sc = sc_get_softc(0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in register_framebuffer()
337 0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in register_framebuffer()
382 if (sc->unit == sc_console_unit && sc->cur_scp->smode.mode != VT_AUTO) in register_framebuffer()
400 sc = sc_get_softc(0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in unregister_framebuffer()
404 0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in unregister_framebuffer()
429 if (sc->unit == sc_console_unit) in unregister_framebuffer()
550 if (sc_console_unit == unit) { in sc_attach_unit()
584 sc->dev[0] = make_dev(&sc_ops, sc_console_unit*MAXCONS, UID_ROOT, in sc_attach_unit()
586 sc_console_unit * MAXCONS)); in sc_attach_unit()
627 if (sc_console_unit == unit) in sc_attach_unit()
663 if (sc_console_unit < 0) /* sc_console == NULL */ in scmeminit()
722 sc = sc_get_softc(unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0); in scopen()
805 if ((scp == scp->sc->cur_scp) && (scp->sc->unit == sc_console_unit) && in scclose()
1223 if ((scp == sc->cur_scp) && (sc->unit == sc_console_unit) && in scioctl()
1243 if ((scp == sc->cur_scp) && (sc->unit == sc_console_unit)) in scioctl()
1828 sc_console_unit = unit; in sccninit()
1857 if (sc_console_unit < 0) in sccnterm()
1866 scterm(sc_console_unit, SC_KERNEL_CONSOLE); in sccnterm()
1867 sc_console_unit = -1; in sccnterm()
2457 if (sc->unit == sc_console_unit) in sc_fb_blank()
2462 if (sc->unit == sc_console_unit && in sc_fb_blank()
2957 if (sc->unit == sc_console_unit && !sc->fb_blanked) in sc_switch_scr()
2977 if (sc->unit == sc_console_unit && !sc->fb_blanked) in do_switch_scr()
3031 if (scp->sc->unit == sc_console_unit) in signal_vt_acq()