Lines Matching defs:o_tty
362 struct tty_struct *o_tty;
379 o_tty = alloc_tty_struct(driver->other, idx);
380 if (!o_tty)
383 tty_set_lock_subclass(o_tty);
384 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE);
390 tty_init_termios(o_tty);
392 driver->other->ttys[idx] = o_tty;
397 memset(&o_tty->termios_locked, 0, sizeof(tty->termios_locked));
398 o_tty->termios = driver->other->init_termios;
402 * Everything allocated ... set up the o_tty structure.
406 tty->link = o_tty;
407 o_tty->link = tty;
412 o_tty->port = ports[0];
414 o_tty->port->itty = o_tty;
416 tty_buffer_set_lock_subclass(o_tty->port);
420 o_tty->count++;