Lines Matching refs:gs_tty_driver
888 static struct tty_driver *gs_tty_driver; variable
1093 .data = &gs_tty_driver,
1204 tty_unregister_device(gs_tty_driver, port_num); in gserial_free_line()
1235 gs_tty_driver, port_num, NULL); in gserial_alloc_line()
1399 gs_tty_driver = alloc_tty_driver(MAX_U_SERIAL_PORTS); in userial_init()
1400 if (!gs_tty_driver) in userial_init()
1403 gs_tty_driver->driver_name = "g_serial"; in userial_init()
1404 gs_tty_driver->name = "ttyGS"; in userial_init()
1407 gs_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; in userial_init()
1408 gs_tty_driver->subtype = SERIAL_TYPE_NORMAL; in userial_init()
1409 gs_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; in userial_init()
1410 gs_tty_driver->init_termios = tty_std_termios; in userial_init()
1416 gs_tty_driver->init_termios.c_cflag = in userial_init()
1418 gs_tty_driver->init_termios.c_ispeed = 9600; in userial_init()
1419 gs_tty_driver->init_termios.c_ospeed = 9600; in userial_init()
1421 tty_set_operations(gs_tty_driver, &gs_tty_ops); in userial_init()
1426 status = tty_register_driver(gs_tty_driver); in userial_init()
1439 put_tty_driver(gs_tty_driver); in userial_init()
1440 gs_tty_driver = NULL; in userial_init()
1447 tty_unregister_driver(gs_tty_driver); in userial_cleanup()
1448 put_tty_driver(gs_tty_driver); in userial_cleanup()
1449 gs_tty_driver = NULL; in userial_cleanup()