Lines Matching defs:o_tty
373 struct tty_struct *o_tty;
390 o_tty = alloc_tty_struct(driver->other, idx);
391 if (!o_tty)
394 tty_set_lock_subclass(o_tty);
395 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE);
401 tty_init_termios(o_tty);
403 driver->other->ttys[idx] = o_tty;
408 memset(&o_tty->termios_locked, 0, sizeof(tty->termios_locked));
409 o_tty->termios = driver->other->init_termios;
413 * Everything allocated ... set up the o_tty structure.
417 tty->link = o_tty;
418 o_tty->link = tty;
423 o_tty->port = ports[0];
425 o_tty->port->itty = o_tty;
427 tty_buffer_set_lock_subclass(o_tty->port);
431 o_tty->count++;