Lines Matching refs:ioctl
110 ioctl(launcher->tty, VT_RELDISP, 1); in vt_handler()
112 ioctl(launcher->tty, VT_RELDISP, VT_ACKACQ); in vt_handler()
155 ret = ioctl(launcher->tty, KDGETMODE, &kd_mode); in setup_tty()
165 ioctl(launcher->tty, VT_ACTIVATE, minor(buf.st_rdev)); in setup_tty()
166 ioctl(launcher->tty, VT_WAITACTIVE, minor(buf.st_rdev)); in setup_tty()
168 if (ioctl(launcher->tty, KDGKBMODE, &launcher->kb_mode)) { in setup_tty()
174 if (ioctl(launcher->tty, KDSKBMUTE, 1) && in setup_tty()
175 ioctl(launcher->tty, KDSKBMODE, K_OFF)) { in setup_tty()
181 ret = ioctl(launcher->tty, KDSETMODE, KD_GRAPHICS); in setup_tty()
203 if (ioctl(launcher->tty, VT_SETMODE, &mode) < 0) { in setup_tty()
264 if (ioctl(launcher->tty, KDSKBMUTE, 0) && in launcher_direct_restore()
265 ioctl(launcher->tty, KDSKBMODE, launcher->kb_mode)) in launcher_direct_restore()
269 if (ioctl(launcher->tty, KDSETMODE, KD_TEXT)) in launcher_direct_restore()
279 if (ioctl(launcher->tty, VT_SETMODE, &mode) < 0) in launcher_direct_restore()
287 return ioctl(launcher->tty, VT_ACTIVATE, vt); in launcher_direct_activate_vt()