Lines Matching refs:hvcs_tty_driver
218 static struct tty_driver *hvcs_tty_driver;
1493 hvcs_tty_driver = alloc_tty_driver(num_ttys_to_alloc);
1494 if (!hvcs_tty_driver)
1502 hvcs_tty_driver->owner = THIS_MODULE;
1504 hvcs_tty_driver->driver_name = hvcs_driver_name;
1505 hvcs_tty_driver->name = hvcs_device_node;
1512 hvcs_tty_driver->minor_start = HVCS_MINOR_START;
1513 hvcs_tty_driver->type = TTY_DRIVER_TYPE_SYSTEM;
1520 hvcs_tty_driver->init_termios = hvcs_tty_termios;
1521 hvcs_tty_driver->flags = TTY_DRIVER_REAL_RAW;
1523 tty_set_operations(hvcs_tty_driver, &hvcs_ops);
1529 if (tty_register_driver(hvcs_tty_driver)) {
1553 tty_unregister_driver(hvcs_tty_driver);
1557 put_tty_driver(hvcs_tty_driver);
1558 hvcs_tty_driver = NULL;
1606 tty_unregister_driver(hvcs_tty_driver);
1610 put_tty_driver(hvcs_tty_driver);