Lines Matching defs:serial_driver
50 tty->name, (info->flags), serial_driver->refcount,info->count,tty->count,s)
101 static struct tty_driver *serial_driver;
1961 serial_driver = alloc_tty_driver(1);
1962 if (!serial_driver)
1971 serial_driver->owner = THIS_MODULE;
1972 serial_driver->driver_name = "amiserial";
1973 serial_driver->name = "ttyS";
1974 serial_driver->major = TTY_MAJOR;
1975 serial_driver->minor_start = 64;
1976 serial_driver->type = TTY_DRIVER_TYPE_SERIAL;
1977 serial_driver->subtype = SERIAL_TYPE_NORMAL;
1978 serial_driver->init_termios = tty_std_termios;
1979 serial_driver->init_termios.c_cflag =
1981 serial_driver->flags = TTY_DRIVER_REAL_RAW;
1982 tty_set_operations(serial_driver, &serial_ops);
1984 error = tty_register_driver(serial_driver);
2045 tty_unregister_driver(serial_driver);
2047 put_tty_driver(serial_driver);
2059 if ((error = tty_unregister_driver(serial_driver)))
2062 put_tty_driver(serial_driver);
2138 return serial_driver;