Home
last modified time | relevance | path

Searched refs:console_driver (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/tty/vt/
Dvt.c2997 struct tty_driver *console_driver; variable
3116 return console_driver; in vt_console_device()
3570 console_driver = alloc_tty_driver(MAX_NR_CONSOLES); in vty_init()
3571 if (!console_driver) in vty_init()
3574 console_driver->name = "tty"; in vty_init()
3575 console_driver->name_base = 1; in vty_init()
3576 console_driver->major = TTY_MAJOR; in vty_init()
3577 console_driver->minor_start = 1; in vty_init()
3578 console_driver->type = TTY_DRIVER_TYPE_CONSOLE; in vty_init()
3579 console_driver->init_termios = tty_std_termios; in vty_init()
[all …]
/Linux-v5.10/drivers/tty/
Dtty_io.c1847 extern struct tty_driver *console_driver; in tty_lookup_driver()
1848 driver = tty_driver_kref_get(console_driver); in tty_lookup_driver()
1854 struct tty_driver *console_driver = console_device(index); in tty_lookup_driver() local
1855 if (console_driver) { in tty_lookup_driver()
1856 driver = tty_driver_kref_get(console_driver); in tty_lookup_driver()