Lines Matching defs:mode
244 * currently, setting the mode from KD_TEXT to KD_GRAPHICS doesn't do a whole
252 static int vt_kdsetmode(struct vc_data *vc, unsigned long mode)
254 switch (mode) {
259 mode = KD_TEXT;
267 if (vc->vc_mode == mode)
270 vc->vc_mode = mode;
275 if (mode == KD_TEXT)
559 if (vc->vt_mode.mode != VT_PROCESS)
616 nvc->vt_mode = vsa.mode;
771 if (tmp.mode != VT_AUTO && tmp.mode != VT_PROCESS)
965 vc->vt_mode.mode = VT_AUTO;
1137 * KD_TEXT mode or vice versa, which means we need to blank or
1165 if (vc->vt_mode.mode == VT_PROCESS) {
1175 * to KD_TEXT mode. I'm not sure if this is strictly correct
1210 * If this vt is in process mode, then we need to handshake with
1216 * If it doesn't, we reset this vt to auto mode and continue.
1225 if (vc->vt_mode.mode == VT_PROCESS) {
1247 * to KD_TEXT mode. I'm not sure if this is strictly correct
1261 * Ignore all switches in KD_GRAPHICS+VT_AUTO mode
1278 /* Graphics mode - up to X */