| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/linux/ |
| linux.c | 52 static int vtno; variable 95 vtno = kdVirtualTerminal; 104 if ((ioctl(fd, VT_OPENQRY, &vtno) < 0) || 105 (vtno == -1)) 112 sprintf(vtname,"/dev/tty%d",vtno); /* /dev/tty1-64 */ 269 if (ioctl(LinuxConsoleFd, VT_ACTIVATE, vtno) != 0) 273 if (ioctl(LinuxConsoleFd, VT_WAITACTIVE, vtno) != 0) 321 if (vtno == vts.v_active) 332 if (activeVT != vtno && (vts.v_state & (1 << activeVT))) 354 if (ioctl (fd, VT_DISALLOCATE, vtno) < 0 [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/ |
| eglfbdev.c | 63 static int tty_open_vt(int vtno) 69 size = snprintf(name, sizeof(name), tty, vtno); 73 flags = (vtno) ? O_RDWR | O_NDELAY : O_WRONLY; 78 static int tty_switch_vt(int fd, int vtno) 82 ret = ioctl(fd, VT_ACTIVATE, vtno); 84 ret = ioctl(fd, VT_WAITACTIVE, vtno); 93 int fd, vtno; local 99 if (ioctl(fd, VT_OPENQRY, &vtno) < 0) 103 fd = tty_open_vt(vtno); 112 if (tty_switch_vt(fd, vtno)) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| xf86Events.c | 176 int vtno = *((int *) arg); local 178 if (vtno != xf86Info.vtno) { 179 if (!xf86VTActivate(vtno)) { 181 xf86Info.vtno, vtno, strerror(errno)); 188 if (!xf86VTActivate(xf86Info.vtno + 1)) { 194 xf86Info.vtno, strerror(errno)); 200 if (!xf86Info.dontVTSwitch && xf86Info.vtno > 0) { 201 if (!xf86VTActivate(xf86Info.vtno - 1)) [all...] |
| xf86Privstr.h | 53 int vtno; member in struct:__anon9936
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| xf86Events.c | 199 int vtno = *((int *) arg); local 201 if (vtno != xf86Info.vtno) { 202 if (!xf86VTActivate(vtno)) { 204 xf86Info.vtno, vtno, strerror(errno)); 211 if (!xf86VTActivate(xf86Info.vtno + 1)) { 217 xf86Info.vtno, strerror(errno)); 223 if (VTSwitchEnabled && !xf86Info.dontVTSwitch && xf86Info.vtno > 0) { 224 if (!xf86VTActivate(xf86Info.vtno - 1)) [all...] |
| xf86Privstr.h | 59 int vtno; member in struct:__anon10534
|
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| sunInit.c | 497 int err, vtno = 0; local 502 XA_INTEGER, 32, PropModeReplace, 1, &vtno, FALSE);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/ |
| lnx-keyboard.c | 179 int vtno; member in struct:_myPrivate 414 int vtno; local 423 if (ioctl(fd, VT_OPENQRY, &vtno) < 0 || vtno < 0) 425 return vtno; 428 static int kbdLinuxOpenVT(int vtno) 436 XmuSnprintf(name, sizeof(name), vcs[i], vtno); 441 vtno, strerror(errno)); 453 static int kbdLinuxActivate(int fd, int vtno, int setSig); 476 if (priv->vtno == vt) return 0 [all...] |