Home
last modified time | relevance | path

Searched refs:vtno (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Dbsd_init.c260 ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno)); in xf86OpenConsole()
266 xf86Info.vtno)); in xf86OpenConsole()
308 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0) { in xf86OpenConsole()
362 xf86Info.vtno = VTnum; in xf86OpenSyscons()
370 xf86Info.vtno = initialVT; in xf86OpenSyscons()
372 if (xf86Info.vtno == -1) { in xf86OpenSyscons()
384 if (ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) { in xf86OpenSyscons()
386 xf86Info.vtno = -1; in xf86OpenSyscons()
392 if (xf86Info.vtno == -1) { in xf86OpenSyscons()
397 xf86Info.vtno = initialVT; in xf86OpenSyscons()
[all …]
H A Dbsd_VTsw.c97 xf86VTActivate(int vtno) in xf86VTActivate() argument
99 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/
H A Dlnx_init.c105 if (xf86Info.vtno != -1) { in linux_parse_vt_settings()
125 xf86Info.vtno = vts.v_active; in linux_parse_vt_settings()
128 SYSCALL(ret = ioctl(fd, VT_OPENQRY, &xf86Info.vtno)); in linux_parse_vt_settings()
135 if (xf86Info.vtno == -1) { in linux_parse_vt_settings()
144 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno); in linux_parse_vt_settings()
155 if (!KeepTty && current_vt == xf86Info.vtno) { in linux_parse_vt_settings()
206 snprintf(vtname, sizeof(vtname), vcs[i], xf86Info.vtno); /* /dev/tty1-64 */ in xf86OpenConsole()
214 " %d (%s)\n", xf86Info.vtno, strerror(errno)); in xf86OpenConsole()
233 if (!switch_to(xf86Info.vtno, "xf86OpenConsole")) in xf86OpenConsole()
290 if (!switch_to(xf86Info.vtno, "xf86OpenConsole")) in xf86OpenConsole()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/
H A Dsun_init.c120 xf86Info.vtno = CONSOLE_VTNO; in xf86OpenConsole()
142 xf86Info.vtno = 0; in xf86OpenConsole()
153 xf86Info.vtno = VTnum; in xf86OpenConsole()
157 xf86Info.vtno = vtinfo.v_active; in xf86OpenConsole()
161 if ((ioctl(fd, VT_OPENQRY, &xf86Info.vtno) < 0) || in xf86OpenConsole()
162 (xf86Info.vtno == -1)) { in xf86OpenConsole()
167 xf86Msg(from, "using VT number %d\n\n", xf86Info.vtno); in xf86OpenConsole()
168 snprintf(consoleDev, PATH_MAX, "/dev/vt/%d", xf86Info.vtno); in xf86OpenConsole()
195 switch_to(xf86Info.vtno, "xf86OpenConsole"); in xf86OpenConsole()
239 switch_to(xf86Info.vtno, "xf86OpenConsole"); in xf86OpenConsole()
H A Dsun_VTsw.c120 xf86VTActivate(int vtno) in xf86VTActivate() argument
127 if ((state.v_state & (1 << vtno)) == 0) in xf86VTActivate()
131 xf86Info.vtPendingNum = vtno; in xf86VTActivate()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Events.c187 int vtno = *((int *) arg); in xf86ProcessActionEvent() local
189 if (vtno != xf86Info.vtno) { in xf86ProcessActionEvent()
190 if (!xf86VTActivate(vtno)) { in xf86ProcessActionEvent()
192 xf86Info.vtno, vtno, strerror(errno)); in xf86ProcessActionEvent()
199 if (!xf86VTActivate(xf86Info.vtno + 1)) { in xf86ProcessActionEvent()
205 xf86Info.vtno, strerror(errno)); in xf86ProcessActionEvent()
211 if (!xf86Info.dontVTSwitch && xf86Info.vtno > 0) { in xf86ProcessActionEvent()
212 if (!xf86VTActivate(xf86Info.vtno - 1)) { in xf86ProcessActionEvent()
215 xf86Info.vtno, strerror(errno)); in xf86ProcessActionEvent()
H A Dxf86Privstr.h53 int vtno; member
H A Dxf86Globals.c100 .vtno = -1,
H A Dxf86Init.c286 &xf86Info.vtno, FALSE); in AddVTAtoms()
646 if (xf86Info.vtno >= 0) in InitOutput()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A DVTsw_usl.c78 xf86VTActivate(int vtno) in xf86VTActivate() argument
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
H A DVTsw_noop.c57 xf86VTActivate(int vtno) in xf86VTActivate() argument
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/
H A Dxf86_OSproc.h178 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
/OK3568_Linux_fs/external/xserver/
H A DChangeLog34770 But the final KeepTty value is not known until the code to chose which vtno to
34775 the linux xf86OpenConsole bits which set xf86Info.vtno and keepTty so that
34777 no side effects other than setting xf86Info.vtno and keepTty.