| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/ |
| H A D | bsd_init.c | 205 xf86Info.consoleFd = fd; in xf86OpenConsole() 207 switch (xf86Info.consType) { in xf86OpenConsole() 210 if (ioctl(xf86Info.consoleFd, CONSOLE_X_MODE_ON, 0) < 0) { in xf86OpenConsole() 248 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, 1) != 0) { in xf86OpenConsole() 255 if (!xf86Info.ShareVTs) { in xf86OpenConsole() 260 ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno)); in xf86OpenConsole() 265 ioctl(xf86Info.consoleFd, VT_WAITACTIVE, in xf86OpenConsole() 266 xf86Info.vtno)); in xf86OpenConsole() 278 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) { in xf86OpenConsole() 282 if (ioctl(xf86Info.consoleFd, KDENABIO, 0) < 0) { in xf86OpenConsole() [all …]
|
| H A D | bsd_VTsw.c | 48 if (xf86Info.consType == SYSCONS || xf86Info.consType == PCVT) { in xf86VTRequest() 49 xf86Info.vtRequestsPending = TRUE; in xf86VTRequest() 59 if (xf86Info.consType == SYSCONS || xf86Info.consType == PCVT) { in xf86VTSwitchPending() 60 return xf86Info.vtRequestsPending ? TRUE : FALSE; in xf86VTSwitchPending() 70 if (xf86Info.consType == SYSCONS || xf86Info.consType == PCVT) { in xf86VTSwitchAway() 71 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchAway() 72 if (ioctl(xf86Info.consoleFd, VT_RELDISP, 1) < 0) in xf86VTSwitchAway() 85 if (xf86Info.consType == SYSCONS || xf86Info.consType == PCVT) { in xf86VTSwitchTo() 86 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchTo() 87 if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0) in xf86VTSwitchTo() [all …]
|
| H A D | bsd_bell.c | 52 switch (xf86Info.consType) { in xf86OSRingBell() 58 ioctl(xf86Info.consoleFd, CONSOLE_X_BELL, data); in xf86OSRingBell() 64 ioctl(xf86Info.consoleFd, KDMKTONE, in xf86OSRingBell() 75 ioctl(xf86Info.consoleFd, WSKBDIO_COMPLEXBELL, &wsb); in xf86OSRingBell()
|
| H A D | i386_video.c | 286 switch (xf86Info.consType) { in xf86SetTVOut() 290 if (ioctl(xf86Info.consoleFd, CONSOLE_X_TV_ON, &mode) < 0) { in xf86SetTVOut() 309 switch (xf86Info.consType) { in xf86SetRGBOut() 313 if (ioctl(xf86Info.consoleFd, CONSOLE_X_TV_OFF, 0) < 0) { in xf86SetRGBOut()
|
| H A D | ppc_video.c | 62 int fd = xf86Info.consoleFd; in xf86EnableIO()
|
| H A D | bsd_apm.c | 114 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
|
| H A D | bsd_kqueue_apm.c | 161 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/ |
| H A D | lnx_init.c | 70 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_ACTIVATE, vt)); in switch_to() 76 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_WAITACTIVE, vt)); in switch_to() 105 if (xf86Info.vtno != -1) { in linux_parse_vt_settings() 117 if (xf86Info.ShareVTs) { 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() [all …]
|
| H A D | lnx_bell.c | 40 if (xf86Info.consoleFd == -1 || !pitch || !loudness) in xf86OSRingBell() 43 ioctl(xf86Info.consoleFd, KDMKTONE, in xf86OSRingBell()
|
| H A D | lnx_acpi.c | 141 if (ACPIihPtr || !xf86Info.pmFlag) in lnxACPIOpen()
|
| H A D | lnx_apm.c | 161 if (APMihPtr || !xf86Info.pmFlag) in lnxAPMOpen()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/ |
| H A D | sun_init.c | 69 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_ACTIVATE, vt)); in switch_to() 74 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_WAITACTIVE, vt)); in switch_to() 120 xf86Info.vtno = CONSOLE_VTNO; in xf86OpenConsole() 142 xf86Info.vtno = 0; in xf86OpenConsole() 153 xf86Info.vtno = VTnum; in xf86OpenConsole() 156 else if (xf86Info.ShareVTs) { 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() [all …]
|
| H A D | sun_VTsw.c | 46 if (xf86Info.vtPendingNum == -1) { in xf86VTRelease() 48 xf86Info.vtRequestsPending = TRUE; in xf86VTRelease() 52 ioctl(xf86Info.consoleFd, VT_RELDISP, 1); in xf86VTRelease() 53 xf86Info.vtPendingNum = -1; in xf86VTRelease() 61 xf86Info.vtRequestsPending = TRUE; in xf86VTAcquire() 68 return xf86Info.vtRequestsPending ? TRUE : FALSE; in xf86VTSwitchPending() 78 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchAway() 82 ioctl(xf86Info.consoleFd, VT_RELDISP, 1); in xf86VTSwitchAway() 87 vt_door_arg.vt_num = xf86Info.vtPendingNum; in xf86VTSwitchAway() 110 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchTo() [all …]
|
| H A D | sun_apm.c | 198 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Events.c | 124 if (xf86Info.lastEventTime == 0) { in TimeSinceLastInputEvent() 125 xf86Info.lastEventTime = GetTimeInMillis(); in TimeSinceLastInputEvent() 127 return GetTimeInMillis() - xf86Info.lastEventTime; in TimeSinceLastInputEvent() 137 xf86Info.lastEventTime = GetTimeInMillis(); in SetTimeSinceLastInputEvent() 156 xf86SetViewport(xf86Info.currentScreen, x, y); in ProcessInputEvents() 169 if (!xf86Info.dontZap) { in xf86ProcessActionEvent() 178 if (!xf86Info.dontZoom) in xf86ProcessActionEvent() 179 xf86ZoomViewport(xf86Info.currentScreen, 1); in xf86ProcessActionEvent() 182 if (!xf86Info.dontZoom) in xf86ProcessActionEvent() 183 xf86ZoomViewport(xf86Info.currentScreen, -1); in xf86ProcessActionEvent() [all …]
|
| H A D | xf86Config.c | 539 if (xf86Info.useDefaultFontPath) { in configFiles() 740 xf86GetOptValBool(FlagOptions, FLAG_NOTRAPSIGNALS, &xf86Info.notrapSignals); in configServerFlags() 741 xf86GetOptValBool(FlagOptions, FLAG_DONTVTSWITCH, &xf86Info.dontVTSwitch); in configServerFlags() 742 xf86GetOptValBool(FlagOptions, FLAG_DONTZAP, &xf86Info.dontZap); in configServerFlags() 743 xf86GetOptValBool(FlagOptions, FLAG_DONTZOOM, &xf86Info.dontZoom); in configServerFlags() 745 xf86GetOptValBool(FlagOptions, FLAG_IGNORE_ABI, &xf86Info.ignoreABI); in configServerFlags() 746 if (xf86Info.ignoreABI) { in configServerFlags() 752 &xf86Info.autoAddDevices); in configServerFlags() 759 xf86Info.autoAddDevices ? "A" : "Not a"); in configServerFlags() 763 &xf86Info.autoEnableDevices); in configServerFlags() [all …]
|
| H A D | xf86Init.c | 243 if (xf86Info.notrapSignals) { in TrapSignals() 286 &xf86Info.vtno, FALSE); in AddVTAtoms() 377 if (xf86Info.ignoreABI) { in InitOutput() 483 xf86Info.dontVTSwitch = TRUE; in InitOutput() 646 if (xf86Info.vtno >= 0) in InitOutput() 671 ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ); in InitOutput() 796 xf86Info.vtRequestsPending = FALSE; in InitInput() 1274 xf86Info.autoVTSwitch = FALSE; in ddxProcessArgument() 1278 xf86Info.ShareVTs = TRUE; in ddxProcessArgument() 1282 xf86Info.iglxFrom = X_CMDLINE; in ddxProcessArgument()
|
| H A D | xf86AutoConfig.c | 238 if (xf86Info.consoleFd >= 0) { in listPossibleVideoDrivers() 243 SYSCALL(iret = ioctl(xf86Info.consoleFd, VIS_GETIDENTIFIER, &visid)); in listPossibleVideoDrivers()
|
| H A D | xf86Globals.c | 98 xf86InfoRec xf86Info = { variable
|
| H A D | xf86Priv.h | 77 extern _X_EXPORT xf86InfoRec xf86Info;
|
| H A D | xf86Helper.c | 1442 return xf86Info.vidModeAllowNonLocal; in xf86GetVidModeAllowNonLocal() 1448 return xf86Info.vidModeEnabled; in xf86GetVidModeEnabled() 1454 return xf86Info.miscModInDevAllowNonLocal; in xf86GetModInDevAllowNonLocal() 1460 return xf86Info.miscModInDevEnabled; in xf86GetModInDevEnabled() 1466 return xf86Info.allowMouseOpenFail; in xf86GetAllowMouseOpenFail()
|
| H A D | xf86Xinput.c | 1042 if (!xf86Info.autoAddDevices) { in NewInputDeviceRequest() 1092 (is_auto && xf86Info.autoEnableDevices))); in NewInputDeviceRequest() 1097 if (is_auto && !xf86Info.autoAddDevices) in NewInputDeviceRequest() 1585 (is_auto && xf86Info.autoEnableDevices))); in xf86InputEnableVTProbe()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/ |
| H A D | VTsw_usl.c | 47 xf86Info.vtRequestsPending = TRUE; in xf86VTRequest() 54 return xf86Info.vtRequestsPending ? TRUE : FALSE; in xf86VTSwitchPending() 60 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchAway() 61 if (ioctl(xf86Info.consoleFd, VT_RELDISP, 1) < 0) in xf86VTSwitchAway() 70 xf86Info.vtRequestsPending = FALSE; in xf86VTSwitchTo() 71 if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0) in xf86VTSwitchTo() 81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
|
| H A D | sigio.c | 188 if (!xf86Info.useSIGIO) in xf86InstallSIGIOHandler() 260 if (!xf86Info.useSIGIO) in xf86RemoveSIGIOHandler()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/hurd/ |
| H A D | hurd_init.c | 79 xf86Info.consoleFd = fd; in xf86OpenConsole() 87 close(xf86Info.consoleFd); in xf86CloseConsole()
|