Lines Matching refs:tty_modem
1774 m->tty_modem = alloc_tty_driver(ISDN_MAX_CHANNELS); in isdn_tty_modem_init()
1775 if (!m->tty_modem) in isdn_tty_modem_init()
1777 m->tty_modem->name = "ttyI"; in isdn_tty_modem_init()
1778 m->tty_modem->major = ISDN_TTY_MAJOR; in isdn_tty_modem_init()
1779 m->tty_modem->minor_start = 0; in isdn_tty_modem_init()
1780 m->tty_modem->type = TTY_DRIVER_TYPE_SERIAL; in isdn_tty_modem_init()
1781 m->tty_modem->subtype = SERIAL_TYPE_NORMAL; in isdn_tty_modem_init()
1782 m->tty_modem->init_termios = tty_std_termios; in isdn_tty_modem_init()
1783 m->tty_modem->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; in isdn_tty_modem_init()
1784 m->tty_modem->flags = TTY_DRIVER_REAL_RAW; in isdn_tty_modem_init()
1785 m->tty_modem->driver_name = "isdn_tty"; in isdn_tty_modem_init()
1786 tty_set_operations(m->tty_modem, &modem_ops); in isdn_tty_modem_init()
1787 retval = tty_register_driver(m->tty_modem); in isdn_tty_modem_init()
1845 tty_unregister_driver(m->tty_modem); in isdn_tty_modem_init()
1847 put_tty_driver(m->tty_modem); in isdn_tty_modem_init()
1848 m->tty_modem = NULL; in isdn_tty_modem_init()
1868 tty_unregister_driver(dev->mdm.tty_modem); in isdn_tty_exit()
1869 put_tty_driver(dev->mdm.tty_modem); in isdn_tty_exit()
1870 dev->mdm.tty_modem = NULL; in isdn_tty_exit()