HomeSort by: relevance | last modified time | path
    Searched refs:vtno (Results 1 - 25 of 28) sorted by relevancy

1 2

  /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/shared/
VTsw_noop.c 57 xf86VTActivate(int vtno)
VTsw_usl.c 78 xf86VTActivate(int vtno)
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/
VTsw_noop.c 57 xf86VTActivate(int vtno)
VTsw_usl.c 78 xf86VTActivate(int vtno)
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/
bsd_init.c 255 ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno));
261 xf86Info.vtno));
303 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0) {
357 xf86Info.vtno = VTnum;
365 xf86Info.vtno = initialVT;
367 if (xf86Info.vtno == -1) {
379 if (ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) {
381 xf86Info.vtno = -1;
387 if (xf86Info.vtno == -1) {
392 xf86Info.vtno = initialVT
    [all...]
bsd_VTsw.c 103 xf86VTActivate(int vtno)
105 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
bsd_init.c 274 ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno));
280 ioctl(xf86Info.consoleFd, VT_WAITACTIVE, xf86Info.vtno));
325 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0)
389 xf86Info.vtno = VTnum;
397 xf86Info.vtno = initialVT;
399 if (xf86Info.vtno == -1)
413 if (ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0)
416 xf86Info.vtno = -1;
422 if (xf86Info.vtno == -1)
431 xf86Info.vtno = initialVT
    [all...]
bsd_VTsw.c 103 xf86VTActivate(int vtno)
105 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
sun_VTsw.c 120 xf86VTActivate(int vtno)
127 if ((state.v_state & (1 << vtno)) == 0)
131 xf86Info.vtPendingNum = vtno;
sun_init.c 125 xf86Info.vtno = CONSOLE_VTNO;
147 xf86Info.vtno = 0;
158 xf86Info.vtno = VTnum;
162 xf86Info.vtno = vtinfo.v_active;
166 if ((ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) ||
167 (xf86Info.vtno == -1)) {
172 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno);
173 snprintf(consoleDev, PATH_MAX, "/dev/vt/%d", xf86Info.vtno);
200 switch_to(xf86Info.vtno, "xf86OpenConsole");
244 switch_to(xf86Info.vtno, "xf86OpenConsole")
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
sun_VTsw.c 123 xf86VTActivate(int vtno)
130 if ((state.v_state & (1 << vtno)) == 0)
134 xf86Info.vtPendingNum = vtno;
sun_init.c 134 xf86Info.vtno = CONSOLE_VTNO;
158 xf86Info.vtno = 0;
170 xf86Info.vtno = VTnum;
175 if ((ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) ||
176 (xf86Info.vtno == -1))
182 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno);
183 snprintf(consoleDev, PATH_MAX, "/dev/vt/%d", xf86Info.vtno);
209 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0)
212 if (ioctl(xf86Info.consoleFd, VT_WAITACTIVE, xf86Info.vtno) != 0)
257 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0
    [all...]
  /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/xorg-server.old/dist/hw/xfree86/os-support/linux/
lnx_init.c 93 if (xf86Info.vtno != -1) {
115 xf86Info.vtno = vts.v_active;
117 SYSCALL(ret = ioctl(fd, VT_OPENQRY, &xf86Info.vtno));
121 if (xf86Info.vtno == -1)
127 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno);
151 sprintf(vtname, vcs[i], xf86Info.vtno); /* /dev/tty1-64 */
159 " %d (%s)\n", xf86Info.vtno, strerror(errno));
191 switch_to(xf86Info.vtno, "xf86OpenConsole");
243 switch_to(xf86Info.vtno, "xf86OpenConsole");
324 if (sscanf(argv[i], "vt%2d", &xf86Info.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/os-support/linux/
lnx_init.c 105 if (xf86Info.vtno != -1) {
125 xf86Info.vtno = vts.v_active;
128 SYSCALL(ret = ioctl(fd, VT_OPENQRY, &xf86Info.vtno));
135 if (xf86Info.vtno == -1) {
144 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno);
155 if (!KeepTty && current_vt == xf86Info.vtno) {
206 snprintf(vtname, sizeof(vtname), vcs[i], xf86Info.vtno); /* /dev/tty1-64 */
214 " %d (%s)\n", xf86Info.vtno, strerror(errno));
233 if (!switch_to(xf86Info.vtno, "xf86OpenConsole"))
290 if (!switch_to(xf86Info.vtno, "xf86OpenConsole")
    [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
xf86Globals.c 100 .vtno = -1,
  /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.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...]
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/
xf86_OSproc.h 178 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/
xf86_OSproc.h 202 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
  /xsrc/external/mit/xorg-server/dist/hw/sun/
sunInit.c 497 int err, vtno = 0; local
502 XA_INTEGER, 32, PropModeReplace, 1, &vtno, FALSE);

Completed in 15 milliseconds

1 2