Home
last modified time | relevance | path

Searched refs:xf86Info (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Dbsd_init.c205 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 Dbsd_VTsw.c48 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 Dbsd_bell.c52 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 Di386_video.c286 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 Dppc_video.c62 int fd = xf86Info.consoleFd; in xf86EnableIO()
H A Dbsd_apm.c114 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
H A Dbsd_kqueue_apm.c161 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/
H A Dlnx_init.c70 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 Dlnx_bell.c40 if (xf86Info.consoleFd == -1 || !pitch || !loudness) in xf86OSRingBell()
43 ioctl(xf86Info.consoleFd, KDMKTONE, in xf86OSRingBell()
H A Dlnx_acpi.c141 if (ACPIihPtr || !xf86Info.pmFlag) in lnxACPIOpen()
H A Dlnx_apm.c161 if (APMihPtr || !xf86Info.pmFlag) in lnxAPMOpen()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/
H A Dsun_init.c69 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 Dsun_VTsw.c46 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 Dsun_apm.c198 if (APMihPtr || !xf86Info.pmFlag) { in xf86OSPMOpen()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Events.c124 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 Dxf86Config.c539 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 Dxf86Init.c243 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 Dxf86AutoConfig.c238 if (xf86Info.consoleFd >= 0) { in listPossibleVideoDrivers()
243 SYSCALL(iret = ioctl(xf86Info.consoleFd, VIS_GETIDENTIFIER, &visid)); in listPossibleVideoDrivers()
H A Dxf86Globals.c98 xf86InfoRec xf86Info = { variable
H A Dxf86Priv.h77 extern _X_EXPORT xf86InfoRec xf86Info;
H A Dxf86Helper.c1442 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 Dxf86Xinput.c1042 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 DVTsw_usl.c47 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 Dsigio.c188 if (!xf86Info.useSIGIO) in xf86InstallSIGIOHandler()
260 if (!xf86Info.useSIGIO) in xf86RemoveSIGIOHandler()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/hurd/
H A Dhurd_init.c79 xf86Info.consoleFd = fd; in xf86OpenConsole()
87 close(xf86Info.consoleFd); in xf86CloseConsole()

12