Home
last modified time | relevance | path

Searched refs:console_fd (Results 1 – 7 of 7) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsvideo.c288 console_fd = open(PS2_DEV_GS, O_RDWR, 0); in GS_VideoInit()
289 if ( console_fd < 0 ) { in GS_VideoInit()
295 close(console_fd); in GS_VideoInit()
296 console_fd = -1; in GS_VideoInit()
301 if ( ioctl(console_fd, PS2IOC_GSCREENINFO, &vinfo) < 0 ) { in GS_VideoInit()
303 close(console_fd); in GS_VideoInit()
304 console_fd = -1; in GS_VideoInit()
423 if ( ioctl(console_fd, PS2IOC_GSCREENINFO, &vinfo) < 0 ) { in GS_SetVideoMode()
459 if ( ioctl(console_fd, PS2IOC_SSCREENINFO, &vinfo) < 0 ) { in GS_SetVideoMode()
596 ioctl(console_fd, PS2IOC_SENDQCT, 1); in GS_LockHWSurface()
[all …]
DSDL_gsvideo.h43 int console_fd; member
71 #define console_fd (this->hidden->console_fd) macro
DSDL_gsmouse.c65 ioctl(console_fd, PS2IOC_SENDQCT, 1); in GS_MoveCursor()
114 ioctl(console_fd, PS2IOC_LOADIMAGE, &image); in GS_MoveCursor()
118 scaleimage_nonblock(console_fd, in GS_MoveCursor()
DSDL_gsyuv.c281 ioctl(console_fd, PS2IOC_SEND, &tex_packet); in GS_CreateYUVOverlay()
422 ioctl(console_fd, PS2IOC_SENDQCT, 1); in GS_DisplayYUVOverlay()
438 return ioctl(console_fd, PS2IOC_SENDL, &hwdata->plist); in GS_DisplayYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbvideo.c385 if ( ioctl(console_fd, FBIOPUT_VSCREENINFO, vinfo) == 0 ) { in FB_CheckMode()
501 console_fd = open(SDL_fbdev, O_RDWR, 0); in FB_VideoInit()
502 if ( console_fd < 0 ) { in FB_VideoInit()
518 if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) { in FB_VideoInit()
571 PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); in FB_VideoInit()
580 if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { in FB_VideoInit()
611 ioctl(console_fd, FBIOPUT_VSCREENINFO, &vinfo); in FB_VideoInit()
615 MAP_SHARED, console_fd, mapped_memlen); in FB_VideoInit()
877 if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { in FB_SetVGA16Mode()
894 if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) { in FB_SetVGA16Mode()
[all …]
DSDL_fbvideo.h54 int console_fd; member
98 #define console_fd (this->hidden->console_fd) macro
DSDL_fbevents.c937 ioctl(console_fd, FBIOGET_VSCREENINFO, &screen_vinfo); in switch_vt_prep()
948 ioctl(console_fd, FBIOPUT_VSCREENINFO, &screen_vinfo); in switch_vt_done()