Searched refs:vtno (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/
H A DVTsw_noop.c57 xf86VTActivate(int vtno) argument
H A DVTsw_usl.c78 xf86VTActivate(int vtno) argument
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/shared/
H A DVTsw_noop.c57 xf86VTActivate(int vtno) argument
H A DVTsw_usl.c78 xf86VTActivate(int vtno) argument
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/
H A Dbsd_init.c255 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
[all...]
H A Dbsd_VTsw.c103 xf86VTActivate(int vtno) argument
105 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
H A Dbsd_init.c274 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
[all...]
H A Dbsd_VTsw.c103 xf86VTActivate(int vtno) argument
105 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) {
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_VTsw.c123 xf86VTActivate(int vtno) argument
130 if ((state.v_state & (1 << vtno)) == 0)
134 xf86Info.vtPendingNum = vtno;
H A Dsun_init.c134 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) !
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
H A Dsun_VTsw.c120 xf86VTActivate(int vtno) argument
127 if ((state.v_state & (1 << vtno)) == 0)
131 xf86Info.vtPendingNum = vtno;
H A Dsun_init.c120 xf86Info.vtno = CONSOLE_VTNO;
142 xf86Info.vtno = 0;
153 xf86Info.vtno = VTnum;
157 xf86Info.vtno = vtinfo.v_active;
161 if ((ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) ||
162 (xf86Info.vtno == -1)) {
167 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno);
168 snprintf(consoleDev, PATH_MAX, "/dev/vt/%d", xf86Info.vtno);
195 switch_to(xf86Info.vtno, "xf86OpenConsole");
239 switch_to(xf86Info.vtno, "xf86OpenConsol
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/linux/
H A Dlinux.c52 static int vtno; variable in typeref:typename:int
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) <
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
H A Dlnx_init.c93 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)
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
H A Deglfbdev.c63 static int tty_open_vt(int vtno) argument
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) argument
82 ret = ioctl(fd, VT_ACTIVATE, vtno);
84 ret = ioctl(fd, VT_WAITACTIVE, vtno);
93 int fd, vtno; local in function:tty_init_vt
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/
H A Dlnx_init.c105 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, "xf86OpenConsol
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86Events.c199 int vtno = *((int *) arg); local in function:xf86ProcessActionEvent
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
[all...]
H A Dxf86Privstr.h59 int vtno; member in struct:__anon813e10320308
H A Dxf86Globals.c98 .vtno = -1,
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86Events.c176 int vtno = *((int *) arg); local in function:xf86ProcessActionEvent
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
[all...]
H A Dxf86Privstr.h53 int vtno; member in struct:__anon669d33250208
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/
H A Dlnx-keyboard.c179 int vtno; member in struct:_myPrivate
414 int vtno; local in function:kbdLinuxGetFreeVTNumber
423 if (ioctl(fd, VT_OPENQRY, &vtno) < 0 || vtno < 0)
425 return vtno;
428 static int kbdLinuxOpenVT(int vtno) argument
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
502 kbdLinuxActivate(int fd,int vtno,int setSig) argument
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/
H A Dxf86_OSproc.h178 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/
H A Dxf86_OSproc.h202 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A DsunInit.c497 int err, vtno = 0; local in function:AddVTAtoms
502 XA_INTEGER, 32, PropModeReplace, 1, &vtno, FALSE);

Completed in 15 milliseconds

12