Searched refs:kgdb_nmi_tty_driver (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/tty/serial/
H A Dkgdb_nmi.c69 static struct tty_driver *kgdb_nmi_tty_driver; variable in typeref:struct:tty_driver
74 return kgdb_nmi_tty_driver; kgdb_nmi_console_device()
336 kgdb_nmi_tty_driver = alloc_tty_driver(1); kgdb_register_nmi_console()
337 if (!kgdb_nmi_tty_driver) { kgdb_register_nmi_console()
341 kgdb_nmi_tty_driver->driver_name = "ttyNMI"; kgdb_register_nmi_console()
342 kgdb_nmi_tty_driver->name = "ttyNMI"; kgdb_register_nmi_console()
343 kgdb_nmi_tty_driver->num = 1; kgdb_register_nmi_console()
344 kgdb_nmi_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; kgdb_register_nmi_console()
345 kgdb_nmi_tty_driver->subtype = SERIAL_TYPE_NORMAL; kgdb_register_nmi_console()
346 kgdb_nmi_tty_driver->flags = TTY_DRIVER_REAL_RAW; kgdb_register_nmi_console()
347 kgdb_nmi_tty_driver->init_termios = tty_std_termios; kgdb_register_nmi_console()
348 tty_termios_encode_baud_rate(&kgdb_nmi_tty_driver->init_termios, kgdb_register_nmi_console()
350 tty_set_operations(kgdb_nmi_tty_driver, &kgdb_nmi_tty_ops); kgdb_register_nmi_console()
352 ret = tty_register_driver(kgdb_nmi_tty_driver); kgdb_register_nmi_console()
362 put_tty_driver(kgdb_nmi_tty_driver); kgdb_register_nmi_console()
379 ret = tty_unregister_driver(kgdb_nmi_tty_driver); kgdb_unregister_nmi_console()
382 put_tty_driver(kgdb_nmi_tty_driver); kgdb_unregister_nmi_console()

Completed in 29 milliseconds