Searched refs:sc_resumescreen (Results 1 – 1 of 1) sorted by relevance
188 int sc_resumescreen; /* if set, can't switch until resume. */ member700 sc->sc_resumescreen = WSDISPLAY_NULLSCREEN; in wsdisplay_attach()1854 while (sc->sc_resumescreen != WSDISPLAY_NULLSCREEN && res == 0) in wsdisplay_switch()1855 res = tsleep_nsec(&sc->sc_resumescreen, PCATCH, "wsrestore", in wsdisplay_switch()2257 sc->sc_resumescreen = active; /* block other vt switches until resume */ in wsdisplay_suspend_device()2284 if (sc->sc_resumescreen != WSDISPLAY_NULLSCREEN) { in wsdisplay_resume_device()2286 idx = sc->sc_resumescreen; in wsdisplay_resume_device()2287 sc->sc_resumescreen = WSDISPLAY_NULLSCREEN; in wsdisplay_resume_device()2288 wakeup(&sc->sc_resumescreen); in wsdisplay_resume_device()