Lines Matching defs:serial_driver
501 static struct tty_driver *serial_driver;
3925 if (serial_driver) {
3926 if ((rc = tty_unregister_driver(serial_driver)))
3929 put_tty_driver(serial_driver);
3979 serial_driver = alloc_tty_driver(128);
3980 if (!serial_driver) {
3987 serial_driver->owner = THIS_MODULE;
3988 serial_driver->driver_name = "synclinkmp";
3989 serial_driver->name = "ttySLM";
3990 serial_driver->major = ttymajor;
3991 serial_driver->minor_start = 64;
3992 serial_driver->type = TTY_DRIVER_TYPE_SERIAL;
3993 serial_driver->subtype = SERIAL_TYPE_NORMAL;
3994 serial_driver->init_termios = tty_std_termios;
3995 serial_driver->init_termios.c_cflag =
3997 serial_driver->init_termios.c_ispeed = 9600;
3998 serial_driver->init_termios.c_ospeed = 9600;
3999 serial_driver->flags = TTY_DRIVER_REAL_RAW;
4000 tty_set_operations(serial_driver, &ops);
4001 if ((rc = tty_register_driver(serial_driver)) < 0) {
4004 put_tty_driver(serial_driver);
4005 serial_driver = NULL;
4011 serial_driver->major);