Lines Matching refs:tty
95 int kb_mode, tty, drm_fd; member
181 if (ioctl(launcher->tty, KDSKBMUTE, 0) && in launcher_weston_launch_restore()
182 ioctl(launcher->tty, KDSKBMODE, launcher->kb_mode)) in launcher_weston_launch_restore()
186 if (ioctl(launcher->tty, KDSETMODE, KD_TEXT)) in launcher_weston_launch_restore()
196 if (ioctl(launcher->tty, VT_SETMODE, &mode) < 0) in launcher_weston_launch_restore()
246 return ioctl(launcher->tty, VT_ACTIVATE, vt); in launcher_weston_launch_activate_vt()
272 int tty, const char *seat_id, bool sync_drm) in launcher_weston_launch_connect() argument
287 launcher->tty = launcher_weston_environment_get_fd("WESTON_TTY_FD"); in launcher_weston_launch_connect()
321 if (launcher->tty >= 0) in launcher_weston_launch_destroy()
322 close(launcher->tty); in launcher_weston_launch_destroy()
332 if (fstat(launcher->tty, &s) < 0) in launcher_weston_launch_get_vt()