Home
last modified time | relevance | path

Searched refs:consoleFd (Results 1 – 17 of 17) sorted by relevance

/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()
207 if ((xf86Info.consoleFd = open(vtname, O_RDWR | O_NDELAY, 0)) >= 0) in xf86OpenConsole()
212 if (xf86Info.consoleFd < 0) in xf86OpenConsole()
220 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_GETSTATE, &vts)); in xf86OpenConsole()
236 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_GETMODE, &VT)); in xf86OpenConsole()
247 SYSCALL(ret = ioctl(xf86Info.consoleFd, VT_SETMODE, &VT)); in xf86OpenConsole()
253 SYSCALL(ret = ioctl(xf86Info.consoleFd, KDSETMODE, KD_GRAPHICS)); in xf86OpenConsole()
258 tcgetattr(xf86Info.consoleFd, &tty_attr); in xf86OpenConsole()
259 SYSCALL(ioctl(xf86Info.consoleFd, KDGKBMODE, &tty_mode)); in xf86OpenConsole()
[all …]
H A Dlnx_bell.c40 if (xf86Info.consoleFd == -1 || !pitch || !loudness) in xf86OSRingBell()
43 ioctl(xf86Info.consoleFd, KDMKTONE, in xf86OSRingBell()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Dbsd_init.c205 xf86Info.consoleFd = fd; 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()
260 ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno)); in xf86OpenConsole()
265 ioctl(xf86Info.consoleFd, VT_WAITACTIVE, in xf86OpenConsole()
278 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) { in xf86OpenConsole()
282 if (ioctl(xf86Info.consoleFd, KDENABIO, 0) < 0) { in xf86OpenConsole()
287 if (ioctl(xf86Info.consoleFd, KDSETMODE, KD_GRAPHICS) < 0) { in xf86OpenConsole()
292 close(xf86Info.consoleFd); in xf86OpenConsole()
308 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) != 0) { in xf86OpenConsole()
[all …]
H A Dbsd_bell.c58 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 Dbsd_VTsw.c72 if (ioctl(xf86Info.consoleFd, VT_RELDISP, 1) < 0) in xf86VTSwitchAway()
87 if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0) in xf86VTSwitchTo()
99 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
H A Di386_video.c290 if (ioctl(xf86Info.consoleFd, CONSOLE_X_TV_ON, &mode) < 0) { in xf86SetTVOut()
313 if (ioctl(xf86Info.consoleFd, CONSOLE_X_TV_OFF, 0) < 0) { in xf86SetRGBOut()
H A Dppc_video.c62 int fd = xf86Info.consoleFd; in xf86EnableIO()
/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()
180 if (((xf86Info.consoleFd = open(consoleDev, O_RDWR | O_NDELAY, 0)) < 0)) in xf86OpenConsole()
199 if (ioctl(xf86Info.consoleFd, VT_SET_CONSUSER) != 0) in xf86OpenConsole()
204 if (ioctl(xf86Info.consoleFd, VT_GETMODE, &VT) < 0) in xf86OpenConsole()
214 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &VT) < 0) in xf86OpenConsole()
217 if (ioctl(xf86Info.consoleFd, VT_SETDISPINFO, atoi(display)) < 0) in xf86OpenConsole()
223 SYSCALL(i = ioctl(xf86Info.consoleFd, KDSETMODE, KD_GRAPHICS)); in xf86OpenConsole()
243 if (ioctl(xf86Info.consoleFd, VT_SET_CONSUSER) != 0) in xf86OpenConsole()
318 SYSCALL(ioctl(xf86Info.consoleFd, KDSETMODE, KD_TEXT)); in xf86CloseConsole()
[all …]
H A Dsun_VTsw.c52 ioctl(xf86Info.consoleFd, VT_RELDISP, 1); in xf86VTRelease()
82 ioctl(xf86Info.consoleFd, VT_RELDISP, 1); in xf86VTSwitchAway()
111 if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0) { in xf86VTSwitchTo()
124 if (ioctl(xf86Info.consoleFd, VT_GETSTATE, &state) < 0) in xf86VTActivate()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A DVTsw_usl.c61 if (ioctl(xf86Info.consoleFd, VT_RELDISP, 1) < 0) in xf86VTSwitchAway()
71 if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0) in xf86VTSwitchTo()
81 if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) { in xf86VTActivate()
/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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Privstr.h52 int consoleFd; member
H A Dxf86AutoConfig.c238 if (xf86Info.consoleFd >= 0) { in listPossibleVideoDrivers()
243 SYSCALL(iret = ioctl(xf86Info.consoleFd, VIS_GETIDENTIFIER, &visid)); in listPossibleVideoDrivers()
H A Dxf86Globals.c99 .consoleFd = -1,
H A Dxf86Events.c607 handler = xf86AddGeneralHandler(xf86Info.consoleFd, proc, data); in xf86SetConsoleHandler()
H A Dxf86Init.c671 ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ); in InitOutput()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog84399 in WaitForSomething selecting consoleFd over and over again, every time
85638 bsd: Replacement screenFd on consoleFd because they are equivalent
122879 Leave consoleFd open over the course of the server, even though any use
123565 /dev/fb by changing xf86Info.consoleFd from /dev/fb to a /dev/vt/*