Lines Matching refs:ntty_driver
414 static struct tty_driver *ntty_driver;
1480 tty_dev = tty_register_device(ntty_driver, dc->index_start + i,
1494 tty_unregister_device(ntty_driver, i);
1530 tty_unregister_device(ntty_driver, i);
1943 ntty_driver = alloc_tty_driver(NTTY_TTY_MAXMINORS);
1944 if (!ntty_driver)
1947 ntty_driver->owner = THIS_MODULE;
1948 ntty_driver->driver_name = NOZOMI_NAME_TTY;
1949 ntty_driver->name = "noz";
1950 ntty_driver->major = 0;
1951 ntty_driver->type = TTY_DRIVER_TYPE_SERIAL;
1952 ntty_driver->subtype = SERIAL_TYPE_NORMAL;
1953 ntty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
1954 ntty_driver->init_termios = tty_std_termios;
1955 ntty_driver->init_termios.c_cflag = B115200 | CS8 | CREAD | \
1957 ntty_driver->init_termios.c_ispeed = 115200;
1958 ntty_driver->init_termios.c_ospeed = 115200;
1959 tty_set_operations(ntty_driver, &tty_ops);
1961 ret = tty_register_driver(ntty_driver);
1975 tty_unregister_driver(ntty_driver);
1977 put_tty_driver(ntty_driver);
1985 tty_unregister_driver(ntty_driver);
1986 put_tty_driver(ntty_driver);