| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/ |
| H A D | bsd_init.c | 260 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 D | bsd_VTsw.c | 97 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 D | lnx_init.c | 105 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 D | sun_init.c | 120 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 D | sun_VTsw.c | 120 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 D | xf86Events.c | 187 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 D | xf86Privstr.h | 53 int vtno; member
|
| H A D | xf86Globals.c | 100 .vtno = -1,
|
| H A D | xf86Init.c | 286 &xf86Info.vtno, FALSE); in AddVTAtoms() 646 if (xf86Info.vtno >= 0) in InitOutput()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/ |
| H A D | VTsw_usl.c | 78 xf86VTActivate(int vtno) in xf86VTActivate() argument 81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
|
| H A D | VTsw_noop.c | 57 xf86VTActivate(int vtno) in xf86VTActivate() argument
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/ |
| H A D | xf86_OSproc.h | 178 extern _X_HIDDEN Bool xf86VTActivate(int vtno);
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 34770 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.
|