Lines Matching defs:LinuxConsoleFd
53 int LinuxConsoleFd;
87 LinuxConsoleFd = -1;
114 if ((LinuxConsoleFd = open(vtname, O_RDWR|O_NDELAY, 0)) < 0)
135 if (ioctl(LinuxConsoleFd, VT_GETSTATE, &vts) == 0)
149 if (ioctl(LinuxConsoleFd, VT_GETMODE, &VT) < 0)
176 if (ioctl(LinuxConsoleFd, VT_SETMODE, &VT) < 0)
249 ioctl (LinuxConsoleFd, VT_RELDISP, VT_ACKACQ);
269 if (ioctl(LinuxConsoleFd, VT_ACTIVATE, vtno) != 0)
273 if (ioctl(LinuxConsoleFd, VT_WAITACTIVE, vtno) != 0)
278 if (ioctl(LinuxConsoleFd, KDSETMODE, KD_GRAPHICS) < 0)
288 ioctl(LinuxConsoleFd, KDSETMODE, KD_TEXT); /* Back to text mode ... */
292 ioctl (LinuxConsoleFd, VT_RELDISP, 1);
311 if (LinuxConsoleFd < 0)
314 if (ioctl(LinuxConsoleFd, VT_GETMODE, &VT) != -1)
317 ioctl(LinuxConsoleFd, VT_SETMODE, &VT); /* set dflt vt handling */
320 ioctl (LinuxConsoleFd, VT_GETSTATE, &vts);
342 ioctl (LinuxConsoleFd, VT_ACTIVATE, activeVT);
343 ioctl (LinuxConsoleFd, VT_WAITACTIVE, activeVT);
347 close(LinuxConsoleFd); /* make the vt-manager happy */
348 LinuxConsoleFd = -1;
385 ioctl(LinuxConsoleFd, KDMKTONE, ((1193190 / pitch) & 0xffff) |